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 <steven@uk.ibm.com>
This commit is contained in:
stevenhorsman 2022-02-21 17:37:07 +00:00
parent fca91c4fa7
commit 2656b466b9

View File

@ -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,