[pbs-devel] [PATCH proxmox-backup 1/4] cli: proxmox-tape: fix ns/depth parameter

Dominik Csapak d.csapak at proxmox.com
Fri May 13 15:39:36 CEST 2022


was forgotten after recent rebase

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 src/bin/proxmox-tape.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/proxmox-tape.rs b/src/bin/proxmox-tape.rs
index 80094d25..af39556e 100644
--- a/src/bin/proxmox-tape.rs
+++ b/src/bin/proxmox-tape.rs
@@ -841,11 +841,11 @@ async fn clean_drive(mut param: Value) -> Result<(), Error> {
                 schema: GROUP_FILTER_LIST_SCHEMA,
                 optional: true,
             },
-            namespace: {
+            ns: {
                 type: BackupNamespace,
                 optional: true,
             },
-            "recursion-depth": {
+            "max-depth": {
                 schema: NS_MAX_DEPTH_SCHEMA,
                 optional: true,
             },
-- 
2.30.2






More information about the pbs-devel mailing list