Skip to content

Commit 40ced91

Browse files
committedMar 18, 2025··
refacto: remove todo
1 parent a656b4a commit 40ced91

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed
 

‎mithril-aggregator/src/commands/mod.rs

-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ impl Source for MainOpts {
103103
let mut result = Map::new();
104104
let namespace = "clap arguments".to_string();
105105

106-
// TODO Is it normal to only have db_directory ?
107106
register_config_value_option!(result, &namespace, self.db_directory, |v: PathBuf| format!(
108107
"{}",
109108
v.to_string_lossy()

‎mithril-aggregator/src/commands/serve_command.rs

-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ impl Source for ServeCommand {
9999
register_config_value_bool!(result, &namespace, self.enable_metrics_server);
100100
register_config_value_option!(result, &namespace, self.metrics_server_ip);
101101
register_config_value_option!(result, &namespace, self.metrics_server_port);
102-
// TODO is it normal to pass a Some(v) and not only v when value is present ?
103102
register_config_value_option!(
104103
result,
105104
&namespace,

0 commit comments

Comments
 (0)
Please sign in to comment.