Skip to content

Commit

Permalink
display grafana with grafana patched
Browse files Browse the repository at this point in the history
  • Loading branch information
WalterWj committed Dec 16, 2024
1 parent c39bd6e commit ec0a1d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cluster/manager/display.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
}
Expand Down

0 comments on commit ec0a1d5

Please sign in to comment.