From 0a33d27c30bd1018fbb4e9ef6ebb0acbbc34283f Mon Sep 17 00:00:00 2001 From: stevenhorsman Date: Mon, 11 Sep 2023 19:26:14 +0100 Subject: [PATCH] agent-ctl: Allow clippy lint - Allow `clippy::redundant-closure-call` which has issues with the guard function passed into the `run_if_auto_values` macro Fixes: #7902 Signed-off-by: stevenhorsman --- src/tools/agent-ctl/src/client.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tools/agent-ctl/src/client.rs b/src/tools/agent-ctl/src/client.rs index bb21b8d625..ab2d95ed25 100644 --- a/src/tools/agent-ctl/src/client.rs +++ b/src/tools/agent-ctl/src/client.rs @@ -1247,6 +1247,7 @@ fn agent_cmd_container_start( Ok(()) } +#[allow(clippy::redundant_closure_call)] fn agent_cmd_sandbox_get_guest_details( ctx: &Context, client: &AgentServiceClient, @@ -2086,6 +2087,7 @@ fn agent_cmd_sandbox_update_container( Ok(()) } +#[allow(clippy::redundant_closure_call)] fn agent_cmd_sandbox_mem_hotplug_by_probe( ctx: &Context, client: &AgentServiceClient,