all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Markus Frank <m.frank@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH proxmox-backup] fix #3856 hint parameter is not optional
Date: Thu,  3 Feb 2022 12:57:26 +0100	[thread overview]
Message-ID: <20220203115726.27874-1-m.frank@proxmox.com> (raw)

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@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





             reply	other threads:[~2022-02-03 12:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-03 11:57 Markus Frank [this message]
2022-02-03 13:50 ` [pbs-devel] applied: " Thomas Lamprecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220203115726.27874-1-m.frank@proxmox.com \
    --to=m.frank@proxmox.com \
    --cc=pbs-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal