Skip to content

Commit

Permalink
display grafana with grafana patched (#2483)
Browse files Browse the repository at this point in the history
  • Loading branch information
WalterWj authored Dec 26, 2024
1 parent bc0e4a9 commit abc1b45
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 abc1b45

Please sign in to comment.