mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-26 23:38:31 +00:00
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:
parent
1d8b78959d
commit
3eaf68d954
@ -1199,6 +1199,7 @@ fn agent_cmd_container_start(
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[allow(clippy::redundant_closure_call)]
|
||||
fn agent_cmd_sandbox_get_guest_details(
|
||||
ctx: &Context,
|
||||
client: &AgentServiceClient,
|
||||
@ -2015,6 +2016,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,
|
||||
|
Loading…
Reference in New Issue
Block a user