diff --git a/pkg/election/lease.go b/pkg/election/lease.go index 7b5fd605a99..28bc39a1752 100644 --- a/pkg/election/lease.go +++ b/pkg/election/lease.go @@ -125,7 +125,7 @@ func (l *lease) KeepAlive(ctx context.Context) { l.expireTime.Store(t) } } - timerutil.SafeResetTimer(timer,l.leaseTimeout) + timerutil.SafeResetTimer(timer, l.leaseTimeout) case <-timer.C: log.Info("lease timeout", zap.Time("expire", l.expireTime.Load().(time.Time)), zap.String("purpose", l.Purpose)) return