mirror of
https://github.com/kubernetes/client-go.git
synced 2025-06-26 15:12:06 +00:00
client-go: fix typo in leaderelection error log message
Kubernetes-commit: 99a90df3d0403315f26d643b90ab6339c22602c8
This commit is contained in:
parent
690fd5274d
commit
ae43527480
@ -426,7 +426,7 @@ func (le *LeaderElector) tryAcquireOrRenew(ctx context.Context) bool {
|
|||||||
le.setObservedRecord(&leaderElectionRecord)
|
le.setObservedRecord(&leaderElectionRecord)
|
||||||
return true
|
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
|
// 2. obtain or create the ElectionRecord
|
||||||
|
Loading…
Reference in New Issue
Block a user