]> git.proxmox.com Git - proxmox-backup.git/blobdiff - src/api2/node/network.rs
clippy: allow api functions with many arguments
[proxmox-backup.git] / src / api2 / node / network.rs
index d9c031aef080292db74a2b7f4bb93cccaef26d39..0dc321b867110878b3dabf40809e4bf439f94a7b 100644 (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>,