Skip to content

Commit 28cd3b1

Browse files
author
Kate Osborn
committed
Be consistent with leader logs
1 parent ff71d88 commit 28cd3b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/mode/static/manager.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,8 @@ func StartManager(cfg config.Config) error {
177177
statusUpdater.Enable(ctx)
178178
},
179179
onStoppedLeading: func() {
180-
statusUpdater.Disable()
181180
leaderElectorLogger.Info("Stopped leading")
181+
statusUpdater.Disable()
182182
},
183183
lockNs: cfg.Namespace,
184184
lockName: cfg.LeaderElection.LockName,

0 commit comments

Comments
 (0)