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:
authorPaul Okstad <pokstad@gitlab.com>2019-04-05 17:53:26 +0300
committerPaul Okstad <pokstad@gitlab.com>2019-04-05 17:53:26 +0300
commit6ba3f61782fe0d3258a5698935d7937cd4cec910 (patch)
treebf8ee3aeef838a3bd1616bab526776139b5e1750
parent985f5bc963aa070ceb9f3de20825fd7367050173 (diff)
parent15e9dfc68447db5a37e0a19fc282c4aaf65d1287 (diff)
Merge branch 'zj-fix-renamed-method' into 'master'
Fix compilation error due to renamed method See merge request gitlab-org/gitaly!1187
-rw-r--r--internal/service/repository/archive.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/service/repository/archive.go b/internal/service/repository/archive.go
index 2848910f7..a90fe51ed 100644
--- a/internal/service/repository/archive.go
+++ b/internal/service/repository/archive.go
@@ -84,7 +84,7 @@ func validateGetArchivePrecondition(ctx context.Context, in *gitalypb.GetArchive
return err
}
- treeEntry, err := commit.TreeEntryForRevisionAndPath(c, in.GetCommitId(), strings.TrimRight(path, "/"))
+ treeEntry, err := commit.NewTreeEntryFinder(c).FindByRevisionAndPath(in.GetCommitId(), strings.TrimRight(path, "/"))
if err != nil {
return err
}