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:
Diffstat (limited to 'internal/service/server/info_test.go')
-rw-r--r--internal/service/server/info_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/service/server/info_test.go b/internal/service/server/info_test.go
index d1b287285..37ba0de13 100644
--- a/internal/service/server/info_test.go
+++ b/internal/service/server/info_test.go
@@ -34,9 +34,9 @@ func TestGitalyServerInfo(t *testing.T) {
{Name: "broken", Path: "/does/not/exist"},
}
defer func(oldStorages []config.Storage) {
- config.Config.Storages = oldStorages
+ config.ModifyStorages(oldStorages)
}(config.Config.Storages)
- config.Config.Storages = testStorages
+ config.ModifyStorages(testStorages)
tempDir, err := ioutil.TempDir("", "gitaly-bin")
require.NoError(t, err)