[pbs-devel] [PATCH proxmox-backup 1/4] server: push: fix needless borrow clippy warning
Christian Ebner
c.ebner at proxmox.com
Thu Nov 21 16:43:34 CET 2024
Signed-off-by: Christian Ebner <c.ebner at proxmox.com>
---
src/server/push.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/server/push.rs b/src/server/push.rs
index 4a222627b..2181634c6 100644
--- a/src/server/push.rs
+++ b/src/server/push.rs
@@ -422,7 +422,7 @@ pub(crate) async fn push_store(mut params: PushParameters) -> Result<SyncStats,
params
.target
.ns
- .contains(&target_namespace)
+ .contains(target_namespace)
.map(|sub_depth| sub_depth <= max_depth)
.unwrap_or(false)
})
--
2.39.5
More information about the pbs-devel
mailing list