diff --git a/main.go b/main.go index 3db7cba46c7..0ed4df38f23 100644 --- a/main.go +++ b/main.go @@ -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",