From: Dominik Csapak <d.csapak@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH proxmox-backup 1/2] proxmox-tape: add missing notify-user to 'proxmox-tape restore'
Date: Fri, 12 Mar 2021 11:28:40 +0100 [thread overview]
Message-ID: <20210312102841.11712-1-d.csapak@proxmox.com> (raw)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
src/bin/proxmox-tape.rs | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/bin/proxmox-tape.rs b/src/bin/proxmox-tape.rs
index 6ab2fc16..ad39ec82 100644
--- a/src/bin/proxmox-tape.rs
+++ b/src/bin/proxmox-tape.rs
@@ -31,6 +31,7 @@ use proxmox_backup::{
DRIVE_NAME_SCHEMA,
MEDIA_LABEL_SCHEMA,
MEDIA_POOL_NAME_SCHEMA,
+ Userid,
},
},
config::{
@@ -863,6 +864,10 @@ async fn backup(mut param: Value) -> Result<(), Error> {
description: "Media set UUID.",
type: String,
},
+ "notify-user": {
+ type: Userid,
+ optional: true,
+ },
"output-format": {
schema: OUTPUT_FORMAT,
optional: true,
--
2.20.1
next reply other threads:[~2021-03-12 10:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-12 10:28 Dominik Csapak [this message]
2021-03-12 10:28 ` [pbs-devel] [PATCH proxmox-backup 2/2] ui: tape/Restore: let the user choose an owner Dominik Csapak
2021-03-16 7:55 ` [pbs-devel] applied: [PATCH proxmox-backup 1/2] proxmox-tape: add missing notify-user to 'proxmox-tape restore' Dietmar Maurer
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=20210312102841.11712-1-d.csapak@proxmox.com \
--to=d.csapak@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox