clippy: allow api functions with many arguments

some of those can be reduced/cleaned up when we have updater support in
the api macro.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler
2021-01-25 14:42:59 +01:00
committed by Wolfgang Bumiller
parent 9c26a3d61a
commit 367c0ff7c6
12 changed files with 13 additions and 2 deletions

View File

@ -213,6 +213,7 @@ pub fn read_interface(iface: String) -> Result<Value, Error> {
},
)]
/// Create network interface configuration.
#[allow(clippy::too_many_arguments)]
pub fn create_interface(
iface: String,
autostart: Option<bool>,
@ -477,6 +478,7 @@ pub enum DeletableProperty {
},
)]
/// Update network interface config.
#[allow(clippy::too_many_arguments)]
pub fn update_interface(
iface: String,
autostart: Option<bool>,

View File

@ -425,6 +425,7 @@ fn stop_task(
},
)]
/// List tasks.
#[allow(clippy::too_many_arguments)]
pub fn list_tasks(
start: u64,
limit: u64,