Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
basit9958 committed Aug 27, 2023
1 parent 840ce99 commit f0464ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/controller/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func main() {
defer cancel()

lock := getNewLock(leaseLockName, podName, leaseLockNamespace)
runLeaderElection(lock, ctx, podName, ctrlOpts, log)
runLeaderElection(ctx, lock, podName, ctrlOpts, log)

os.Exit(0)
}

0 comments on commit f0464ac

Please sign in to comment.