Skip to content

Commit

Permalink
Be consistent with leader logs
Browse files Browse the repository at this point in the history
  • Loading branch information
kate-osborn committed Sep 18, 2023
1 parent ff71d88 commit 28cd3b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/mode/static/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ func StartManager(cfg config.Config) error {
statusUpdater.Enable(ctx)
},
onStoppedLeading: func() {
statusUpdater.Disable()
leaderElectorLogger.Info("Stopped leading")
statusUpdater.Disable()
},
lockNs: cfg.Namespace,
lockName: cfg.LeaderElection.LockName,
Expand Down

0 comments on commit 28cd3b1

Please sign in to comment.