diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-08 15:09:24 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-08 15:09:24 +0300 |
commit | b0d4724e47f94c9b1b2676382084ef964200e3c1 (patch) | |
tree | ce6fc40991e049c022b01a37cbecea12c3285405 /workhorse | |
parent | 058e1a233fc1d96917c72cfab552c72db93f4f8b (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'workhorse')
-rw-r--r-- | workhorse/internal/git/error.go | 2 | ||||
-rw-r--r-- | workhorse/internal/git/error_test.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/workhorse/internal/git/error.go b/workhorse/internal/git/error.go index ceea01c258d..e073df19fff 100644 --- a/workhorse/internal/git/error.go +++ b/workhorse/internal/git/error.go @@ -44,7 +44,7 @@ func handleLimitErr(err error, w io.Writer, f func(w io.Writer) error) { } // writeReceivePackError writes a "server is busy" error message to the -// git-recieve-pack-result. +// git-receive-pack-result. // // 0023\x01001aunpack server is busy // 00000044\x2GitLab is currently unable to handle this request due to load. diff --git a/workhorse/internal/git/error_test.go b/workhorse/internal/git/error_test.go index e1c799d0aa7..11c9baa7d08 100644 --- a/workhorse/internal/git/error_test.go +++ b/workhorse/internal/git/error_test.go @@ -30,7 +30,7 @@ func TestHandleLimitErr(t *testing.T) { }, []byte{}), }, { - desc: "recieve pack", + desc: "receive pack", errWriter: writeReceivePackError, expectedBytes: bytes.Join([][]byte{ {'0', '0', '2', '3', 1, '0', '0', '1', 'a'}, |