diff options
author | Pavlo Strokov <pstrokov@gitlab.com> | 2021-02-21 20:26:08 +0300 |
---|---|---|
committer | Pavlo Strokov <pstrokov@gitlab.com> | 2021-02-21 20:26:08 +0300 |
commit | d3ab3e3647a10e246defaa010efd89d563afedf2 (patch) | |
tree | 58c5f2997a893658cf6aebaab00f769bd2a30a1e /internal/gitaly/service/operations | |
parent | 3f29772a7241e66cc89608778b2411f2a3733a17 (diff) |
Removal of config.Config from the buildCommand
Removal of the buildCommand function dependency on the
global config.Config variable.
Part of: https://gitlab.com/gitlab-org/gitaly/-/issues/2699
Diffstat (limited to 'internal/gitaly/service/operations')
-rw-r--r-- | internal/gitaly/service/operations/testhelper_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/gitaly/service/operations/testhelper_test.go b/internal/gitaly/service/operations/testhelper_test.go index 467c1538d..f0d48f4a2 100644 --- a/internal/gitaly/service/operations/testhelper_test.go +++ b/internal/gitaly/service/operations/testhelper_test.go @@ -55,9 +55,9 @@ func testMain(m *testing.M) int { config.Config.GitlabShell.Dir = gitlabShellDir - testhelper.ConfigureGitalySSH() - testhelper.ConfigureGitalyGit2Go() - testhelper.ConfigureGitalyHooksBinary() + testhelper.ConfigureGitalySSH(config.Config.BinDir) + testhelper.ConfigureGitalyGit2Go(config.Config.BinDir) + testhelper.ConfigureGitalyHooksBinary(config.Config.BinDir) defer func(token string) { config.Config.Auth.Token = token |