Skip to content

Commit

Permalink
Correctly set the default namespace for prometheus
Browse files Browse the repository at this point in the history
Signed-off-by: R.I.Pienaar <[email protected]>
  • Loading branch information
ripienaar committed Sep 28, 2023
1 parent 7fd73a8 commit ad41b3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func commonConfigure(cmd commandHost, cliOpts *Options, disable ...string) error
}

if opts.PrometheusNamespace == "" {
opts.PrometheusNamespace = ""
opts.PrometheusNamespace = "nats_server_check"
}

ctx = context.Background()
Expand Down

0 comments on commit ad41b3d

Please sign in to comment.