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

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorToon Claes <toon@gitlab.com>2023-07-04 13:39:05 +0300
committerToon Claes <toon@gitlab.com>2023-07-04 13:39:05 +0300
commit6dac0d3b720261ef4f774f6727c1b74112809ffd (patch)
tree39a549e78c1b473122e36cd514d6929d801464a1 /cmd
parentabacd8fcffda22087c9f3b3ef479bc44a73ba80e (diff)
parent7b5689f42873d3a13921b2c008359c599451ceac (diff)
Merge branch 'qmnguyen0711/reserve-usage-of-unavailable-codes' into 'master'
Reserve Unavailable response code for service-level unavailability See merge request https://gitlab.com/gitlab-org/gitaly/-/merge_requests/5951 Merged-by: Toon Claes <toon@gitlab.com> Approved-by: Will Chandler <wchandler@gitlab.com> Approved-by: Toon Claes <toon@gitlab.com> Reviewed-by: Toon Claes <toon@gitlab.com> Reviewed-by: Will Chandler <wchandler@gitlab.com> Reviewed-by: Quang-Minh Nguyen <qmnguyen@gitlab.com> Co-authored-by: Quang-Minh Nguyen <qmnguyen@gitlab.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/gitaly-hooks/hooks_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/gitaly-hooks/hooks_test.go b/cmd/gitaly-hooks/hooks_test.go
index 88b15e6a1..9ceb43681 100644
--- a/cmd/gitaly-hooks/hooks_test.go
+++ b/cmd/gitaly-hooks/hooks_test.go
@@ -786,7 +786,8 @@ remote: error resource exhausted, please try again later
},
{
name: "other error - status code is hidden",
- err: structerr.NewUnavailable("server is not available"),
+ //nolint:gitaly-linters
+ err: structerr.NewUnavailable("server is not available"),
expectedStderr: `
remote: error executing git hook
`,