From b932b960881b87b73676fb1f33820ed4afdaf81d Mon Sep 17 00:00:00 2001 From: Thibault Ayanides Date: Mon, 19 Feb 2024 21:55:18 +0100 Subject: [PATCH] fix: slack color for failure --- services/tasks/alert.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {