diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2023-08-24 13:26:49 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2023-08-24 13:44:05 +0300 |
commit | 2dd57f37d2582a2777f0e8117702018ff523fd43 (patch) | |
tree | abbf2f5bda40ecb242729b6e1a3f3de3d09532f6 /cmd | |
parent | d36ed0e6110cb8793448b4f298242feb17385e36 (diff) |
gitlab/client: Stop using labkit logger in favor of injected one
Stop using the labkit logger in favor of an injected one which is
typically set up via a call to our own internal `log.Configure()`
function.
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/gitaly/check_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/gitaly/check_test.go b/cmd/gitaly/check_test.go index 6f7349910..ffaf7c6ec 100644 --- a/cmd/gitaly/check_test.go +++ b/cmd/gitaly/check_test.go @@ -99,5 +99,5 @@ func TestCheckBadCreds(t *testing.T) { require.Error(t, cmd.Run()) require.Contains(t, stdout.String(), `Checking GitLab API access: FAILED`) require.Contains(t, stderr.String(), "HTTP GET to GitLab endpoint /check failed: authorization failed") - require.Regexp(t, `.* level=error msg="Internal API error" .* error="authorization failed" method=GET status=401 url="http://127.0.0.1:[0-9]+/api/v4/internal/check"`, stderr.String()) + require.Regexp(t, `.* level=error msg="Internal API error" .* error="authorization failed" method=GET pid=[0-9]+ status=401 url="http://127.0.0.1:[0-9]+/api/v4/internal/check"`, stderr.String()) } |