Skip to content

Commit 293a6c5

Browse files
committed
fix typo: optimitically -> optimistically
Signed-off-by: Thomas Morin <[email protected]>
1 parent cb31153 commit 293a6c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

staging/src/k8s.io/client-go/tools/leaderelection/leaderelection.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ func (le *LeaderElector) tryAcquireOrRenew(ctx context.Context) bool {
339339
le.setObservedRecord(&leaderElectionRecord)
340340
return true
341341
}
342-
klog.Errorf("Failed to update lock optimitically: %v, falling back to slow path", err)
342+
klog.Errorf("Failed to update lock optimistically: %v, falling back to slow path", err)
343343
}
344344

345345
// 2. obtain or create the ElectionRecord

0 commit comments

Comments
 (0)