mirror of
https://git.proxmox.com/git/proxmox
synced 2025-07-26 04:38:10 +00:00
Revert "verify: allow '0' days for reverification"
This reverts commit c72fe7d77c
.
We could already cause the behavior by simply setting ignore-verified
to false, aas that flag is basically an on/off switch for even
considering outdated-after or not.
So avoid the extra logic and just make the gui use the previously
existing way.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
988e614129
commit
d1fc9d87fa
@ -156,7 +156,7 @@ pub const IGNORE_VERIFIED_BACKUPS_SCHEMA: Schema = BooleanSchema::new(
|
|||||||
|
|
||||||
pub const VERIFICATION_OUTDATED_AFTER_SCHEMA: 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. (0 means always)")
|
||||||
.minimum(0)
|
.minimum(1)
|
||||||
.schema();
|
.schema();
|
||||||
|
|
||||||
#[api(
|
#[api(
|
||||||
|
Loading…
Reference in New Issue
Block a user