(alertType string)
| 184 | } |
| 185 | |
| 186 | func GetCronJobType(alertType string) string { |
| 187 | for _, at := range cronJobAlertTypes { |
| 188 | if at == alertType { |
| 189 | return "cronJob" |
| 190 | } |
| 191 | } |
| 192 | return alertType |
| 193 | } |
| 194 | |
| 195 | func GetCronJobTypeName(cronJobType string) string { |
| 196 | module := cronJobType |
no outgoing calls
no test coverage detected