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
diff options
context:
space:
mode:
authorPatrick Steinhardt <psteinhardt@gitlab.com>2022-01-17 16:24:22 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2022-01-24 13:46:24 +0300
commit6e8e8ad9d6064aa41e0cabe71213eeacd1d24360 (patch)
tree11ea9b61102ba61e85b6229a42e351dd17515edc /internal/gitaly/service/cleanup/testhelper_test.go
parentd01e18fced8323dedf20e7cb45bdce4b1568ac9d (diff)
cleanup: Inject `storage.Locator` into server
Inject a `storage.Locator` into the cleanup server.
Diffstat (limited to 'internal/gitaly/service/cleanup/testhelper_test.go')
-rw-r--r--internal/gitaly/service/cleanup/testhelper_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/gitaly/service/cleanup/testhelper_test.go b/internal/gitaly/service/cleanup/testhelper_test.go
index 220b46bc1..3524e2155 100644
--- a/internal/gitaly/service/cleanup/testhelper_test.go
+++ b/internal/gitaly/service/cleanup/testhelper_test.go
@@ -32,6 +32,7 @@ func runCleanupServiceServer(t *testing.T, cfg config.Cfg) string {
return testserver.RunGitalyServer(t, cfg, nil, func(srv *grpc.Server, deps *service.Dependencies) {
gitalypb.RegisterCleanupServiceServer(srv, NewServer(
deps.GetCfg(),
+ deps.GetLocator(),
deps.GetGitCmdFactory(),
deps.GetCatfileCache(),
))