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 f9b84fa commit ff335e3Copy full SHA for ff335e3
leaderelection/leader_election.go
@@ -229,7 +229,7 @@ func RunWithLeaderElection(
229
logger := klog.FromContext(ctx)
230
231
if !opts.LeaderElection {
232
- run(klog.NewContext(context.Background(), logger))
+ run(ctx)
233
} else {
234
// Create a new clientset for leader election. When the attacher
235
// gets busy and its client gets throttled, the leader election
0 commit comments