public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH backup] fix-3211: manager: Document --notify argument
@ 2023-10-30 12:27 Maximiliano Sandoval R
  2023-11-27 14:37 ` [pbs-devel] applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Maximiliano Sandoval R @ 2023-10-30 12:27 UTC (permalink / raw)
  To: pbs-devel

Signed-off-by: Maximiliano Sandoval R <m.sandoval@proxmox.com>
---
 pbs-api-types/src/jobs.rs | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/pbs-api-types/src/jobs.rs b/pbs-api-types/src/jobs.rs
index 23e19b7b..31a28080 100644
--- a/pbs-api-types/src/jobs.rs
+++ b/pbs-api-types/src/jobs.rs
@@ -147,12 +147,13 @@ pub struct DatastoreNotify {
     pub prune: Option<Notify>,
 }
 
-pub const DATASTORE_NOTIFY_STRING_SCHEMA: Schema =
-    StringSchema::new("Datastore notification setting")
-        .format(&ApiStringFormat::PropertyString(
-            &DatastoreNotify::API_SCHEMA,
-        ))
-        .schema();
+pub const DATASTORE_NOTIFY_STRING_SCHEMA: Schema = StringSchema::new(
+    "Datastore notification setting, enum can be one of 'always', 'never', or 'error'.",
+)
+.format(&ApiStringFormat::PropertyString(
+    &DatastoreNotify::API_SCHEMA,
+))
+.schema();
 
 pub const IGNORE_VERIFIED_BACKUPS_SCHEMA: Schema = BooleanSchema::new(
     "Do not verify backups that are already verified if their verification is not outdated.",
-- 
2.39.2





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [pbs-devel] applied: [PATCH backup] fix-3211: manager: Document --notify argument
  2023-10-30 12:27 [pbs-devel] [PATCH backup] fix-3211: manager: Document --notify argument Maximiliano Sandoval R
@ 2023-11-27 14:37 ` Thomas Lamprecht
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2023-11-27 14:37 UTC (permalink / raw)
  To: Proxmox Backup Server development discussion, Maximiliano Sandoval R

On 30.10.23 13:27, Maximiliano Sandoval R wrote:
> Signed-off-by: Maximiliano Sandoval R <m.sandoval@proxmox.com>
> ---
>  pbs-api-types/src/jobs.rs | 13 +++++++------
>  1 file changed, 7 insertions(+), 6 deletions(-)
> 
>

applied, thanks!




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-11-27 14:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-30 12:27 [pbs-devel] [PATCH backup] fix-3211: manager: Document --notify argument Maximiliano Sandoval R
2023-11-27 14:37 ` [pbs-devel] applied: " Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal