Skip to content

Commit

Permalink
fix metrics port in start up command
Browse files Browse the repository at this point in the history
Signed-off-by: Jaideep Rao <[email protected]>
  • Loading branch information
jaideepr97 committed Oct 31, 2023
1 parent 2fa37ce commit 1c16c11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func main() {
var secureMetrics = false
var enableHTTP2 = false

flag.StringVar(&metricsAddr, "metrics-bind-address", fmt.Sprintf(":%d", ":8080"), "The address the metric endpoint binds to.")
flag.StringVar(&metricsAddr, "metrics-bind-address", ":8080", "The address the metric endpoint binds to.")
flag.StringVar(&probeAddr, "health-probe-bind-address", ":8081", "The address the probe endpoint binds to.")
flag.BoolVar(&enableLeaderElection, "leader-elect", false,
"Enable leader election for controller manager. "+
Expand Down

0 comments on commit 1c16c11

Please sign in to comment.