[pbs-devel] [PATCH backup 3/3] client: clippy: allow too_many_arguments

Maximiliano Sandoval m.sandoval at proxmox.com
Mon Dec 2 14:10:08 CET 2024


These are API endpoints.

Signed-off-by: Maximiliano Sandoval <m.sandoval at proxmox.com>
---
 proxmox-backup-client/src/main.rs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/proxmox-backup-client/src/main.rs b/proxmox-backup-client/src/main.rs
index b0d45f89e..9daa513f9 100644
--- a/proxmox-backup-client/src/main.rs
+++ b/proxmox-backup-client/src/main.rs
@@ -736,6 +736,7 @@ fn spawn_catalog_upload(
    }
 )]
 /// Create (host) backup.
+#[allow(clippy::too_many_arguments)]
 async fn create_backup(
     param: Value,
     all_file_systems: bool,
@@ -1490,6 +1491,7 @@ We do not extract '.pxar' archives when writing to standard output.
     }
 )]
 /// Restore backup repository.
+#[allow(clippy::too_many_arguments)]
 async fn restore(
     param: Value,
     allow_existing_dirs: bool,
-- 
2.39.5





More information about the pbs-devel mailing list