We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7051e00 commit b415c7cCopy full SHA for b415c7c
pkg/operator/operator_leader.go
@@ -41,7 +41,7 @@ import (
41
// runLeaderElection performs a leader election on a lock with given name in
42
// the namespace that the operator is deployed in.
43
// When the leader election is won, the given callback is called.
44
-// When the leader election is lost (even after it was won once), the process is killed.
+// When the leader election is was won once, but then the leadership is lost, the process is killed.
45
// The given ready probe is set, as soon as this process became the leader, or a new leader
46
// is detected.
47
func (o *Operator) runLeaderElection(lockName string, onStart func(stop <-chan struct{}), readyProbe *probe.ReadyProbe) {
0 commit comments