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 <steven@uk.ibm.com>
This commit is contained in:
stevenhorsman 2023-09-11 19:26:14 +01:00
parent 48465d0547
commit 0a33d27c30

View File

@ -1247,6 +1247,7 @@ fn agent_cmd_container_start(
Ok(()) Ok(())
} }
#[allow(clippy::redundant_closure_call)]
fn agent_cmd_sandbox_get_guest_details( fn agent_cmd_sandbox_get_guest_details(
ctx: &Context, ctx: &Context,
client: &AgentServiceClient, client: &AgentServiceClient,
@ -2086,6 +2087,7 @@ fn agent_cmd_sandbox_update_container(
Ok(()) Ok(())
} }
#[allow(clippy::redundant_closure_call)]
fn agent_cmd_sandbox_mem_hotplug_by_probe( fn agent_cmd_sandbox_mem_hotplug_by_probe(
ctx: &Context, ctx: &Context,
client: &AgentServiceClient, client: &AgentServiceClient,