(status string)
| 141 | } |
| 142 | |
| 143 | func getHealthStatusFormatted(status string) string { |
| 144 | switch status { |
| 145 | case "Healthy": |
| 146 | return output.Green(status) |
| 147 | case "Unhealthy": |
| 148 | return output.Red(status) |
| 149 | case "HasWarnings": |
| 150 | return output.Yellow("Has Warnings") |
| 151 | case "Unavailable": |
| 152 | return output.Dim(status) |
| 153 | default: |
| 154 | return status |
| 155 | } |
| 156 | } |
| 157 | |
| 158 | func getWorkerTypeDisplayName(communicationStyle string) string { |
| 159 | switch communicationStyle { |
no test coverage detected