From 30cd51d6c64dda7256ebbc169dbfec90f8d123cb Mon Sep 17 00:00:00 2001 From: pat-s Date: Mon, 28 Oct 2024 14:17:42 +0100 Subject: [PATCH] use failed as default --- server/forge/gitlab/status.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/forge/gitlab/status.go b/server/forge/gitlab/status.go index 7a264b91e..bc828a5c3 100644 --- a/server/forge/gitlab/status.go +++ b/server/forge/gitlab/status.go @@ -25,7 +25,7 @@ func getStatus(status model.StatusValue) gitlab.BuildStateValue { switch status { case model.StatusPending, model.StatusBlocked: // no typo: https://github.com/runatlantis/atlantis/pull/1971#issue-1093158742 - return gitlab.Running + return gitlab.Pending case model.StatusRunning: return gitlab.Running case model.StatusSuccess: @@ -36,6 +36,6 @@ func getStatus(status model.StatusValue) gitlab.BuildStateValue { return gitlab.Canceled default: // no typo: https://github.com/runatlantis/atlantis/pull/1971#issue-1093158742 - return gitlab.Pending + return gitlab.Failed } }