From cd4473de4abbf03428d0368a17676acf8db9b122 Mon Sep 17 00:00:00 2001 From: cuisongliu Date: Tue, 14 Nov 2023 11:17:33 +0800 Subject: [PATCH] refactor(main): delete define (#137) Signed-off-by: cuisongliu --- cmd/endpoints-operator/app/options/options.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/endpoints-operator/app/options/options.go b/cmd/endpoints-operator/app/options/options.go index 75e7caa..b51371a 100644 --- a/cmd/endpoints-operator/app/options/options.go +++ b/cmd/endpoints-operator/app/options/options.go @@ -55,7 +55,6 @@ func (s *Options) Flags() cliflag.NamedFlagSets { fs := fss.FlagSet("leaderelection") s.bindLeaderElectionFlags(s.LeaderElection, fs) - s.RateLimiterOptions.BindFlags(flag.CommandLine) fs.BoolVar(&s.LeaderElect, "leader-elect", s.LeaderElect, ""+ "Whether to enable leader election. This field should be enabled when controller manager"+ "deployed with multiple replicas.")