Skip to content

Commit

Permalink
Fix rendering format selection for check meta
Browse files Browse the repository at this point in the history
Signed-off-by: R.I.Pienaar <[email protected]>
  • Loading branch information
ripienaar committed Dec 23, 2024
1 parent 99ee99b commit 0f1f412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/server_check_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ func (c *SrvCheckCmd) checkJS(_ *fisk.ParseContext) error {
}

func (c *SrvCheckCmd) checkRaft(_ *fisk.ParseContext) error {
check := &monitor.Result{Name: "JetStream Meta Cluster", Check: "meta"}
check := &monitor.Result{Name: "JetStream Meta Cluster", Check: "meta", OutFile: checkRenderOutFile, NameSpace: opts().PrometheusNamespace, RenderFormat: checkRenderFormat}
defer check.GenericExit()

return monitor.CheckJetstreamMeta(opts().Config.ServerURL(), natsOpts(), check, monitor.CheckMetaOptions{
Expand Down

0 comments on commit 0f1f412

Please sign in to comment.