From 4dc2891d1f13b17c90bb35e7886e4a56eb4a5899 Mon Sep 17 00:00:00 2001 From: Dimitrios Karkoulis Date: Sat, 18 Jul 2026 16:05:26 +0300 Subject: [PATCH] fix format --- crates/mcp_detector_daemon/src/main.rs | 10 +++++++++- crates/mcp_detector_daemon/src/ops.rs | 4 +++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/crates/mcp_detector_daemon/src/main.rs b/crates/mcp_detector_daemon/src/main.rs index 4ba2e7b..3c31c9e 100644 --- a/crates/mcp_detector_daemon/src/main.rs +++ b/crates/mcp_detector_daemon/src/main.rs @@ -401,7 +401,15 @@ fn print_list_verbose(servers: &[ServerView]) { } async fn cmd_send_to_ew(name: String, agent: Option) -> anyhow::Result<()> { - ops::disposition(&cli_user(), &name, agent.as_deref(), Choice::SendToEw, None, None).await?; + ops::disposition( + &cli_user(), + &name, + agent.as_deref(), + Choice::SendToEw, + None, + None, + ) + .await?; println!("Sent {name} to Edison Watch and removed it from the local config."); Ok(()) } diff --git a/crates/mcp_detector_daemon/src/ops.rs b/crates/mcp_detector_daemon/src/ops.rs index 455851e..0c693ea 100644 --- a/crates/mcp_detector_daemon/src/ops.rs +++ b/crates/mcp_detector_daemon/src/ops.rs @@ -516,7 +516,9 @@ pub async fn disposition( // submit it verbatim. Otherwise auto-templatize the discovered config. let cfg = match submit_config { Some(c) => c, - None => edison_detectord::secret_detection::templatize_for_fingerprint(&server.config), + None => { + edison_detectord::secret_detection::templatize_for_fingerprint(&server.config) + } }; submit_to_ew(&e, name, &cfg).await? }