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

@ -277,6 +277,7 @@ pub enum DeletableProperty {
},
)]
/// Update datastore config.
#[allow(clippy::too_many_arguments)]
pub fn update_datastore(
name: String,
comment: Option<String>,

View File

@ -203,6 +203,7 @@ pub enum DeletableProperty {
},
)]
/// Update remote configuration.
#[allow(clippy::too_many_arguments)]
pub fn update_remote(
name: String,
comment: Option<String>,

View File

@ -279,6 +279,7 @@ pub enum DeletableProperty {
},
)]
/// Update sync job config.
#[allow(clippy::too_many_arguments)]
pub fn update_sync_job(
id: String,
store: Option<String>,

View File

@ -215,6 +215,7 @@ pub enum DeletableProperty {
},
)]
/// Update verification job config.
#[allow(clippy::too_many_arguments)]
pub fn update_verification_job(
id: String,
store: Option<String>,