Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
Signed-off-by: Basit Hasan <[email protected]>
  • Loading branch information
basit9958 committed Aug 27, 2023
1 parent ce20f4b commit d9d68c1
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 d9d68c1

Please sign in to comment.