fix lint failure in controller-manager options.go

Signed-off-by: Kevin Wang <kevinwzf0126@gmail.com>
This commit is contained in:
Kevin Wang 2021-05-17 15:54:58 +08:00
parent ec6f2fdd74
commit 57c3561fff
1 changed files with 0 additions and 1 deletions

View File

@ -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.")
}