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:
committed by
Wolfgang Bumiller
parent
9c26a3d61a
commit
367c0ff7c6
@ -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>,
|
||||
|
@ -425,6 +425,7 @@ fn stop_task(
|
||||
},
|
||||
)]
|
||||
/// List tasks.
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
pub fn list_tasks(
|
||||
start: u64,
|
||||
limit: u64,
|
||||
|
Reference in New Issue
Block a user