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 /cmd/gitaly-ssh | |
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 'cmd/gitaly-ssh')
-rw-r--r-- | cmd/gitaly-ssh/testhelper_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/gitaly-ssh/testhelper_test.go b/cmd/gitaly-ssh/testhelper_test.go index d8c3a6a0c..b565bcbcf 100644 --- a/cmd/gitaly-ssh/testhelper_test.go +++ b/cmd/gitaly-ssh/testhelper_test.go @@ -21,8 +21,8 @@ func testMain(m *testing.M) int { cleanup := testhelper.Configure() defer cleanup() - testhelper.ConfigureGitalySSH() - testhelper.ConfigureGitalyHooksBinary() + testhelper.ConfigureGitalySSH(config.Config.BinDir) + testhelper.ConfigureGitalyHooksBinary(config.Config.BinDir) gitalySSHPath = filepath.Join(config.Config.BinDir, "gitaly-ssh") |