succd: reset failsafe only after vent

This commit is contained in:
zdmx 2024-09-27 23:32:14 +02:00
parent 93ca80706f
commit ae9ac4ea0e

View file

@ -131,8 +131,10 @@ func (d *daemon) processOnce(_ context.Context) error {
} }
} else { } else {
if d.failsafe { if d.failsafe {
d.failsafe = false if mbar >= 1e-2 {
klog.Infof("Values are plausible again; quitting failsafe mode") d.failsafe = false
klog.Infof("Values are plausible again; quitting failsafe mode")
}
} }
} }