Skip to content

Commit

Permalink
refactor(main): delete define (#137)
Browse files Browse the repository at this point in the history
Signed-off-by: cuisongliu <[email protected]>
  • Loading branch information
cuisongliu authored Nov 14, 2023
1 parent 8b18b36 commit cd4473d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cmd/endpoints-operator/app/options/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down

0 comments on commit cd4473d

Please sign in to comment.