Merge pull request #51958 from deads2k/scheduler-03-typo

Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

fix annoying leader election typo

Small typo that annoyed me. It expected `configmaps`
pull/6/head
Kubernetes Submit Queue 2017-10-09 14:55:18 -07:00 committed by GitHub
commit fcde4c9b24
1 changed files with 1 additions and 1 deletions

View File

@ -62,5 +62,5 @@ func BindFlags(l *componentconfig.LeaderElectionConfiguration, fs *pflag.FlagSet
"of a leadership. This is only applicable if leader election is enabled.")
fs.StringVar(&l.ResourceLock, "leader-elect-resource-lock", l.ResourceLock, ""+
"The type of resource object that is used for locking during "+
"leader election. Supported options are `endpoints` (default) and `configmap`.")
"leader election. Supported options are `endpoints` (default) and `configmaps`.")
}