[pdm-devel] [PATCH datacenter-manager 3/3] pbs-client: fix 'useless use of `format!`' clippy warning

Lukas Wagner l.wagner at proxmox.com
Thu Oct 16 13:35:48 CEST 2025


Signed-off-by: Lukas Wagner <l.wagner at proxmox.com>
---
 server/src/pbs_client.rs | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/server/src/pbs_client.rs b/server/src/pbs_client.rs
index d8278c8a..433b5d4b 100644
--- a/server/src/pbs_client.rs
+++ b/server/src/pbs_client.rs
@@ -216,8 +216,7 @@ impl PbsClient {
             propagate: true,
         };
 
-        let path = format!("/api2/extjs/access/acl");
-        self.0.put(&path, &acl).await?;
+        self.0.put("/api2/extjs/access/acl", &acl).await?;
 
         Ok(token)
     }
-- 
2.47.3





More information about the pdm-devel mailing list