mirror of
https://git.proxmox.com/git/proxmox-backup
synced 2025-07-14 03:44:24 +00:00
server: push: fix needless borrow clippy warning
Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
This commit is contained in:
parent
cc6fc6a540
commit
ffd52fbeeb
@ -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)
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user