client-go: fix typo in leaderelection error log message

Kubernetes-commit: 99a90df3d0403315f26d643b90ab6339c22602c8
This commit is contained in:
Tobias Klauser 2024-08-13 11:21:57 +02:00 committed by Kubernetes Publisher
parent 690fd5274d
commit ae43527480

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