succd: gofmt

This commit is contained in:
Serge Bazanski 2024-09-28 14:27:37 +02:00
parent f5d80a335f
commit 12f6815673

View file

@ -104,8 +104,8 @@ func (d *daemon) processOnce(_ context.Context) error {
mbar := d.piraniMbar3.mbar mbar := d.piraniMbar3.mbar
if !d.safety.failsafe && mbar < 4e-6 { if !d.safety.failsafe && mbar < 4e-6 {
// Unrealistic result, Pirani probe probably disconnected. Failsafe mode. // Unrealistic result, Pirani probe probably disconnected. Failsafe mode.
d.safety.failsafe = true d.safety.failsafe = true
klog.Errorf("SAFETY: Pirani probe seems disconnected; enabling failsafe mode") klog.Errorf("SAFETY: Pirani probe seems disconnected; enabling failsafe mode")
} }
if d.safety.failsafe && mbar > 1e2 { if d.safety.failsafe && mbar > 1e2 {
d.safety.failsafe = false d.safety.failsafe = false