Skip to content

Commit b415c7c

Browse files
committed
Fixed comment
1 parent 7051e00 commit b415c7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/operator/operator_leader.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ import (
4141
// runLeaderElection performs a leader election on a lock with given name in
4242
// the namespace that the operator is deployed in.
4343
// 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.
44+
// When the leader election is was won once, but then the leadership is lost, the process is killed.
4545
// The given ready probe is set, as soon as this process became the leader, or a new leader
4646
// is detected.
4747
func (o *Operator) runLeaderElection(lockName string, onStart func(stop <-chan struct{}), readyProbe *probe.ReadyProbe) {

0 commit comments

Comments
 (0)