From e02fec7b2196890ea456f858c02cfbcd822e395d Mon Sep 17 00:00:00 2001 From: malcolm lee Date: Wed, 19 Jul 2017 18:09:40 +0800 Subject: [PATCH] fix leader-elect-resource-lock's description --- pkg/client/leaderelectionconfig/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/client/leaderelectionconfig/config.go b/pkg/client/leaderelectionconfig/config.go index 626f43229ca..f8f18648fcb 100644 --- a/pkg/client/leaderelectionconfig/config.go +++ b/pkg/client/leaderelectionconfig/config.go @@ -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`.") }