From abc1b45ae2b7baefb737e5b7ddab32e43aa555bd Mon Sep 17 00:00:00 2001 From: Wang Jun <277372664@qq.com> Date: Thu, 26 Dec 2024 17:45:50 +0800 Subject: [PATCH] display grafana with grafana patched (#2483) --- pkg/cluster/manager/display.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cluster/manager/display.go b/pkg/cluster/manager/display.go index 32821342aa..a1f184f46a 100644 --- a/pkg/cluster/manager/display.go +++ b/pkg/cluster/manager/display.go @@ -325,7 +325,7 @@ func (m *Manager) Display(dopt DisplayOption, opt operator.Options) error { func getGrafanaURL(clusterInstInfos []InstInfo) (result []string) { var grafanaURLs []string for _, instance := range clusterInstInfos { - if instance.Role == "grafana" { + if instance.Role == "grafana" || instance.Role == "grafana (patched)" { grafanaURLs = append(grafanaURLs, "http://"+utils.JoinHostPort(instance.Host, instance.Port)) } }