Skip to content

Commit

Permalink
flag naming: metrics-listen-addr => metrics-listen
Browse files Browse the repository at this point in the history
This follows our patterns a bit better IMO
  • Loading branch information
justinsb committed Apr 3, 2018
1 parent 5474753 commit 07dc543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dns-controller/cmd/dns-controller/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func main() {
flags.StringVar(&gossipSecret, "gossip-secret", gossipSecret, "Secret to use to secure gossip")
flags.StringVar(&watchNamespace, "watch-namespace", "", "Limits the functionality for pods, services and ingress to specific namespace, by default all")
flag.IntVar(&route53.MaxBatchSize, "route53-batch-size", route53.MaxBatchSize, "Maximum number of operations performed per changeset batch")
flag.StringVar(&metricsListen, "metrics-listen-addr", "", "The address on which to listen for Prometheus metrics.")
flag.StringVar(&metricsListen, "metrics-listen", "", "The address on which to listen for Prometheus metrics.")

// Trick to avoid 'logging before flag.Parse' warning
flag.CommandLine.Parse([]string{})
Expand Down

0 comments on commit 07dc543

Please sign in to comment.