Merge pull request #126655 from tklauser/log-spelling-fix

client-go: fix typo in leaderelection error log message
This commit is contained in:
Kubernetes Prow Robot
2024-08-18 12:06:56 -07:00
committed by GitHub

View File

@@ -426,7 +426,7 @@ func (le *LeaderElector) tryAcquireOrRenew(ctx context.Context) bool {
le.setObservedRecord(&leaderElectionRecord)
return true
}
klog.Errorf("Failed to update lock optimitically: %v, falling back to slow path", err)
klog.Errorf("Failed to update lock optimistically: %v, falling back to slow path", err)
}
// 2. obtain or create the ElectionRecord