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
@ -277,6 +277,7 @@ pub enum DeletableProperty {
|
||||
},
|
||||
)]
|
||||
/// Update datastore config.
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
pub fn update_datastore(
|
||||
name: String,
|
||||
comment: Option<String>,
|
||||
|
@ -203,6 +203,7 @@ pub enum DeletableProperty {
|
||||
},
|
||||
)]
|
||||
/// Update remote configuration.
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
pub fn update_remote(
|
||||
name: String,
|
||||
comment: Option<String>,
|
||||
|
@ -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>,
|
||||
|
@ -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>,
|
||||
|
Reference in New Issue
Block a user