diff --git a/pkg/election/lease.go b/pkg/election/lease.go index ab6d02262ce..e781e82ee8f 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("keep alive lease too slow", zap.Duration("timeout-duration", l.leaseTimeout), zap.Time("actual-expire", l.expireTime.Load().(time.Time)), zap.String("purpose", l.Purpose)) return