Revert "verify: allow '0' days for reverification"
This reverts commit 7a1a5d206d
.
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:
@ -595,7 +595,7 @@ pub fn verify_filter(
|
||||
let now = proxmox_time::epoch_i64();
|
||||
let days_since_last_verify = (now - last_verify.upid.starttime) / 86400;
|
||||
|
||||
max_age == 0 || days_since_last_verify > max_age
|
||||
days_since_last_verify > max_age
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user