Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'workhorse/internal/queueing/requests.go')
-rw-r--r--workhorse/internal/queueing/requests.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/workhorse/internal/queueing/requests.go b/workhorse/internal/queueing/requests.go
index 34d4c985f53..c3df614de41 100644
--- a/workhorse/internal/queueing/requests.go
+++ b/workhorse/internal/queueing/requests.go
@@ -6,7 +6,7 @@ import (
"github.com/prometheus/client_golang/prometheus"
- "gitlab.com/gitlab-org/gitlab/workhorse/internal/helper"
+ "gitlab.com/gitlab-org/gitlab/workhorse/internal/helper/fail"
)
const (
@@ -46,7 +46,7 @@ func QueueRequests(name string, h http.Handler, limit, queueLimit uint, queueTim
http.Error(w, "Service Unavailable", http.StatusServiceUnavailable)
default:
- helper.Fail500(w, r, err)
+ fail.Request(w, r, err)
}
})