From 2656b466b9a2a01823a1d171b874e46f6c055912 Mon Sep 17 00:00:00 2001 From: stevenhorsman Date: Mon, 21 Feb 2022 17:37:07 +0000 Subject: [PATCH] agent-ctl: Ignore clippy warning - Clippy checks were introduced that cause a warning for a function with more than 7 arguments. The image service addition means handle_cmd has 8 and re-factoring it would take us further away from main, so ignore for now Signed-off-by: stevenhorsman --- src/tools/agent-ctl/src/client.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tools/agent-ctl/src/client.rs b/src/tools/agent-ctl/src/client.rs index e7f4dcb965..64f45bdbfd 100644 --- a/src/tools/agent-ctl/src/client.rs +++ b/src/tools/agent-ctl/src/client.rs @@ -698,6 +698,7 @@ pub fn client(cfg: &Config, commands: Vec<&str>) -> Result<()> { } // Handle internal and agent API commands. +#[allow(clippy::too_many_arguments)] fn handle_cmd( cfg: &Config, client: &AgentServiceClient,