Typo: fix EndpointsLeasesResourceLock ->ConfigMapsLeasesResourceLock

The comment on ConfigMapsLeasesResourceLock begins with the wrong name: EndpointsLeasesResourceLock.

Kubernetes-commit: a50c9db09ba4d22328088887d2fd00b61b36e6c4
This commit is contained in:
DingRui Yang 2023-02-27 21:09:07 +08:00 committed by Kubernetes Publisher
parent 8f4ee7119f
commit af12621334

View File

@ -68,7 +68,7 @@ const (
// name: '*' // name: '*'
// namespace: kube-system // namespace: kube-system
EndpointsLeasesResourceLock = "endpointsleases" EndpointsLeasesResourceLock = "endpointsleases"
// When using EndpointsLeasesResourceLock, you need to ensure that // When using ConfigMapsLeasesResourceLock, you need to ensure that
// API Priority & Fairness is configured with non-default flow-schema // API Priority & Fairness is configured with non-default flow-schema
// that will catch the necessary operations on leader-election related // that will catch the necessary operations on leader-election related
// configmap objects. // configmap objects.