Skip to content

Commit

Permalink
Update metrics address flag
Browse files Browse the repository at this point in the history
  • Loading branch information
ChunyiLyu committed Jul 2, 2021
1 parent e3b740b commit 30bb084
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 @@ -42,7 +42,7 @@ func init() {

func main() {
var metricsAddr string
flag.StringVar(&metricsAddr, "metrics-addr", ":8080", "The address the metric endpoint binds to.")
flag.StringVar(&metricsAddr, "metrics-bind-address", ":8080", "The address the metric endpoint binds to.")
flag.Parse()

ctrl.SetLogger(zap.New(zap.UseDevMode(true)))
Expand Down

0 comments on commit 30bb084

Please sign in to comment.