From 0f1f412ae946bd6f4baf2ebf844bb3df62240f40 Mon Sep 17 00:00:00 2001 From: "R.I.Pienaar" Date: Mon, 23 Dec 2024 11:04:14 +0100 Subject: [PATCH] Fix rendering format selection for check meta Signed-off-by: R.I.Pienaar --- cli/server_check_command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/server_check_command.go b/cli/server_check_command.go index 9723f967..d1c0e623 100644 --- a/cli/server_check_command.go +++ b/cli/server_check_command.go @@ -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{