public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH proxmox-backup] pbs-api-types: fix description for 'outdated-after'
@ 2022-05-18 12:38 Dominik Csapak
  0 siblings, 0 replies; only message in thread
From: Dominik Csapak @ 2022-05-18 12:38 UTC (permalink / raw)
  To: pbs-devel

minimum is 1, so it cannot be 0.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
 pbs-api-types/src/jobs.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pbs-api-types/src/jobs.rs b/pbs-api-types/src/jobs.rs
index 0477f9b8..6e887159 100644
--- a/pbs-api-types/src/jobs.rs
+++ b/pbs-api-types/src/jobs.rs
@@ -155,7 +155,7 @@ pub const IGNORE_VERIFIED_BACKUPS_SCHEMA: Schema = BooleanSchema::new(
 .schema();
 
 pub const VERIFICATION_OUTDATED_AFTER_SCHEMA: Schema =
-    IntegerSchema::new("Days after that a verification becomes outdated. (0 means always)")
+    IntegerSchema::new("Days after that a verification becomes outdated.")
         .minimum(1)
         .schema();
 
@@ -207,7 +207,7 @@ pub struct VerificationJobConfig {
     /// out recent ones, depending on 'outdated_after' configuration.
     pub ignore_verified: Option<bool>,
     #[serde(skip_serializing_if = "Option::is_none")]
-    /// Reverify snapshots after X days, never if 0. Ignored if 'ignore_verified' is false.
+    /// Reverify snapshots after X days. Ignored if 'ignore_verified' is false.
     pub outdated_after: Option<i64>,
     #[serde(skip_serializing_if = "Option::is_none")]
     pub comment: Option<String>,
-- 
2.30.2





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-18 12:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-18 12:38 [pbs-devel] [PATCH proxmox-backup] pbs-api-types: fix description for 'outdated-after' Dominik Csapak

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