[pbs-devel] [PATCH proxmox-backup] fix #3856 hint parameter is not optional
    Markus Frank 
    m.frank at proxmox.com
       
    Thu Feb  3 12:57:26 CET 2022
    
    
  
For the API the parameter --hint is not optional. This patch fixes
the man page and cli command doesn't send an API call, if the 
parameter does not exist.
Signed-off-by: Markus Frank <m.frank at proxmox.com>
---
 src/bin/proxmox_tape/encryption_key.rs | 1 -
 1 file changed, 1 deletion(-)
diff --git a/src/bin/proxmox_tape/encryption_key.rs b/src/bin/proxmox_tape/encryption_key.rs
index 3c2bade9..156295fd 100644
--- a/src/bin/proxmox_tape/encryption_key.rs
+++ b/src/bin/proxmox_tape/encryption_key.rs
@@ -145,7 +145,6 @@ fn show_key(
             },
             hint: {
                 schema: PASSWORD_HINT_SCHEMA,
-                optional: true,
             },
         },
     },
-- 
2.30.2
    
    
More information about the pbs-devel
mailing list