Skip to content

Commit

Permalink
fix: typo error in args for api module (#9741)
Browse files Browse the repository at this point in the history
  • Loading branch information
warjiang authored Dec 6, 2024
1 parent 9a9ae76 commit 5cd9201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/api/pkg/args/args.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ var (
argPort = pflag.Int("port", defaultPort, "secure port to listen to for incoming HTTPS requests")
argMetricClientCheckPeriod = pflag.Int("metric-client-check-period", 30, "time interval between separate metric client health checks in seconds")

argInsecureBindAddress = pflag.IP("insecure-bind-address", net.IPv4(127, 0, 0, 1), "IP address on which to serve the --insecure-port, set to 127.0.0.1 for all interfaces")
argInsecureBindAddress = pflag.IP("insecure-bind-address", net.IPv4(127, 0, 0, 1), "IP address on which to serve the --insecure-port, set to 0.0.0.0 for all interfaces")
argBindAddress = pflag.IP("bind-address", net.IPv4(0, 0, 0, 0), "IP address on which to serve the --port, set to 0.0.0.0 for all interfaces")

argDefaultCertDir = pflag.String("default-cert-dir", "/certs", "directory path containing files from --tls-cert-file and --tls-key-file, used also when auto-generating certificates flag is set")
Expand Down

0 comments on commit 5cd9201

Please sign in to comment.