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>2021-08-03 14:01:55 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2021-08-05 09:56:35 +0300
commit07ebf8c7fb8cd8d1d0891ff9ae888ba6c92c130b (patch)
tree5a42f76d6256483d69803eccfa74bde32e57dd11 /internal/cache/diskcache_test.go
parented73030a9181862224965ec71752682318747832 (diff)
gittest: Rename `CloneRepoAtStorage()` to `CloneRepo()`
Rename `CloneRepoAtStorage()` to `CloneRepo()`. We always have storages available, and there are no other gittest functions to clone a repo anymore, so having the shorter name should suffice.
Diffstat (limited to 'internal/cache/diskcache_test.go')
-rw-r--r--internal/cache/diskcache_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/cache/diskcache_test.go b/internal/cache/diskcache_test.go
index 64aab6f5b..af858cbc9 100644
--- a/internal/cache/diskcache_test.go
+++ b/internal/cache/diskcache_test.go
@@ -22,8 +22,8 @@ import (
func TestStreamDBNaiveKeyer(t *testing.T) {
cfg := testcfg.Build(t)
- testRepo1, _ := gittest.CloneRepoAtStorage(t, cfg, cfg.Storages[0])
- testRepo2, _ := gittest.CloneRepoAtStorage(t, cfg, cfg.Storages[0])
+ testRepo1, _ := gittest.CloneRepo(t, cfg, cfg.Storages[0])
+ testRepo2, _ := gittest.CloneRepo(t, cfg, cfg.Storages[0])
locator := config.NewLocator(cfg)