diff --git a/services/tasks/alert.go b/services/tasks/alert.go index 4f833a54..a8adc74c 100644 --- a/services/tasks/alert.go +++ b/services/tasks/alert.go @@ -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 {