verify: allow '0' days for reverification

and let it mean that we will always reverify

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2022-01-27 15:13:19 +01:00 committed by Thomas Lamprecht
parent 4e854d32f0
commit c72fe7d77c

View File

@ -145,8 +145,8 @@ pub const IGNORE_VERIFIED_BACKUPS_SCHEMA: Schema = BooleanSchema::new(
.schema(); .schema();
pub const VERIFICATION_OUTDATED_AFTER_SCHEMA: Schema = IntegerSchema::new( pub const VERIFICATION_OUTDATED_AFTER_SCHEMA: Schema = IntegerSchema::new(
"Days after that a verification becomes outdated") "Days after that a verification becomes outdated. (0 means always)")
.minimum(1) .minimum(0)
.schema(); .schema();
#[api( #[api(