Skip to content

Commit

Permalink
Fix duplicate flag definition
Browse files Browse the repository at this point in the history
  • Loading branch information
mboersma committed Oct 31, 2023
1 parent 9217837 commit a095a41
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,6 @@ var (

// InitFlags initializes all command-line flags.
func InitFlags(fs *pflag.FlagSet) {
fs.StringVar(
&metricsAddr,
"metrics-bind-addr",
"localhost:8080",
"The address the metric endpoint binds to.",
)

fs.BoolVar(
&enableLeaderElection,
"leader-elect",
Expand Down

0 comments on commit a095a41

Please sign in to comment.