Skip to content

Commit

Permalink
enable Leader Election (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanposhiho authored Oct 16, 2023
1 parent e7fccc9 commit ae7ee50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func main() {
// the manager stops, so would be fine to enable this option. However,
// if you are doing or is intended to do any operation such as perform cleanups
// after the manager stops then its usage might be unsafe.
// LeaderElectionReleaseOnCancel: true,
LeaderElectionReleaseOnCancel: true,
})
if err != nil {
setupLog.Error(err, "unable to start manager")
Expand Down

0 comments on commit ae7ee50

Please sign in to comment.