[pbs-devel] [PATCH proxmox-backup 3/4] api: access: silence too may arguments warning on api handler
Christian Ebner
c.ebner at proxmox.com
Thu Jan 8 16:25:19 CET 2026
To keep the easy to read function signature for the api method.
Signed-off-by: Christian Ebner <c.ebner at proxmox.com>
---
src/api2/access/user.rs | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/api2/access/user.rs b/src/api2/access/user.rs
index a8dd4c0d0..3b4cf1214 100644
--- a/src/api2/access/user.rs
+++ b/src/api2/access/user.rs
@@ -598,6 +598,7 @@ pub enum DeletableTokenProperty {
},
)]
/// Update user's API token metadata
+#[allow(clippy::too_many_arguments)]
pub fn update_token(
userid: Userid,
token_name: Tokenname,
--
2.47.3
More information about the pbs-devel
mailing list