mirror of https://github.com/k3s-io/k3s
Merge pull request #49197 from malc0lm/master
Automatic merge from submit-queue fix leader-elect-resource-lock's description **What this PR does / why we need it**: The leader-elect-resource-lock description miss a space in pkg/client/leaderelectionconfig/config.go. It will effect other component's help document which use leader election. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # I think it's is needless to open a issue. **Special notes for your reviewer**: **Release note**: ```release-note ```pull/6/head
commit
772c352992
|
@ -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`.")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue