Skip to content

Commit

Permalink
fix: allow use of clap parameters that where missing
Browse files Browse the repository at this point in the history
  • Loading branch information
dlachaume committed Oct 22, 2024
1 parent 1e925e9 commit 78572e4
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions mithril-aggregator/src/commands/serve_command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,31 @@ impl Source for ServeCommand {
),
);
}
result.insert(
"disable_digests_cache".to_string(),
Value::new(
Some(&namespace),
ValueKind::from(self.disable_digests_cache),
),
);
result.insert(
"reset_digests_cache".to_string(),
Value::new(Some(&namespace), ValueKind::from(self.reset_digests_cache)),
);
result.insert(
"allow_unparsable_block".to_string(),
Value::new(
Some(&namespace),
ValueKind::from(self.allow_unparsable_block),
),
);
result.insert(
"enable_metrics_server".to_string(),
Value::new(
Some(&namespace),
ValueKind::from(self.enable_metrics_server),
),
);
if let Some(metrics_server_ip) = self.metrics_server_ip.clone() {
result.insert(
"metrics_server_ip".to_string(),
Expand Down

0 comments on commit 78572e4

Please sign in to comment.