We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bbb3d83 + a39770a commit 1b459f6Copy full SHA for 1b459f6
1 file changed
main.go
@@ -34,8 +34,8 @@ func init() {
34
func main() {
35
var probeAddr string
36
var metricsAddr string
37
- flag.StringVar(&probeAddr, "health-probe-bind-address", ":0", "The address the probe endpoint binds to.")
38
- flag.StringVar(&metricsAddr, "metrics-bind-address", ":0", "The address the metric endpoint binds to.")
+ flag.StringVar(&probeAddr, "health-probe-bind-address", "0", "The address the probe endpoint binds to. Set to \"0\" to disable.")
+ flag.StringVar(&metricsAddr, "metrics-bind-address", "0", "The address the metric endpoint binds to. Set to \"0\" to disable.")
39
opts := zap.Options{
40
Development: true,
41
}
0 commit comments