Skip to content

Commit

Permalink
remove todo macros in bin/scr/ctl/command.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
Keksoj committed Jan 16, 2023
1 parent 7b568dd commit 5bf36f5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bin/src/ctl/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,14 @@ impl CommandManager {
}
match response.content {
Some(response_content) => match response_content {
CommandResponseContent::Workers(_) => todo!(),
CommandResponseContent::Metrics(_) => todo!(),
CommandResponseContent::Query(_) => todo!(),
CommandResponseContent::Workers(_)
| CommandResponseContent::Metrics(_)
| CommandResponseContent::Query(_)
| CommandResponseContent::Event(_) => {}
CommandResponseContent::State(state) => match json {
true => print_json_response(&state)?,
false => println!("{:#?}", state),
},
CommandResponseContent::Event(_) => todo!(),
CommandResponseContent::FrontendList(frontends) => {
print_frontend_list(frontends)
}
Expand Down

0 comments on commit 5bf36f5

Please sign in to comment.