]> git.proxmox.com Git - proxmox-backup.git/commitdiff
cli: proxmox-tape: fix ns/depth parameter
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 13 May 2022 13:39:36 +0000 (15:39 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 13 May 2022 13:45:17 +0000 (15:45 +0200)
was forgotten after recent rebase

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/bin/proxmox-tape.rs

index 80094d2590fcacec2e159c6f94d493c6cb8c4f71..af39556e83207703d81bf06ef217fbb725b14c00 100644 (file)
@@ -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,
             },