fix lint failure in controller-manager options.go
Signed-off-by: Kevin Wang <kevinwzf0126@gmail.com>
This commit is contained in:
parent
ec6f2fdd74
commit
57c3561fff
|
@ -79,5 +79,4 @@ func (o *Options) AddFlags(flags *pflag.FlagSet) {
|
|||
flags.DurationVar(&o.ClusterStatusUpdateFrequency.Duration, "cluster-status-update-frequency", 10*time.Second,
|
||||
"Specifies how often karmada-controller-manager posts cluster status to karmada-apiserver.")
|
||||
flags.BoolVar(&o.LeaderElection.LeaderElect, "leader-elect", true, "Start a leader election client and gain leadership before executing the main loop. Enable this when running replicated components for high availability.")
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue