fix leader-elect-resource-lock's description

This commit is contained in:
malcolm lee 2017-07-19 18:09:40 +08:00 committed by Malc0lm
parent defbe45397
commit e02fec7b21

View File

@ -61,6 +61,6 @@ func BindFlags(l *componentconfig.LeaderElectionConfiguration, fs *pflag.FlagSet
"The duration the clients should wait between attempting acquisition and renewal "+
"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 resource object that is used for locking during"+
"The type of resource object that is used for locking during "+
"leader election. Supported options are `endpoints` (default) and `configmap`.")
}