fix: slack color for failure

This commit is contained in:
Thibault Ayanides 2024-02-19 21:55:18 +01:00 committed by GitHub
parent 570a9d323a
commit b932b96088
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -202,7 +202,7 @@ func (t *TaskRunner) sendSlackAlert() {
if t.Task.Status == lib.TaskSuccessStatus {
color = "good"
} else if t.Task.Status == lib.TaskFailStatus {
color = "bad"
color = "danger"
} else if t.Task.Status == lib.TaskRunningStatus {
color = "#333CFF"
} else if t.Task.Status == lib.TaskWaitingStatus {