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/repository/restore_custom_hooks.go')
-rw-r--r--internal/service/repository/restore_custom_hooks.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/service/repository/restore_custom_hooks.go b/internal/service/repository/restore_custom_hooks.go
index 0b7dbdf21..bf5ad311c 100644
--- a/internal/service/repository/restore_custom_hooks.go
+++ b/internal/service/repository/restore_custom_hooks.go
@@ -33,7 +33,7 @@ func (s *server) RestoreCustomHooks(stream gitalypb.RepositoryService_RestoreCus
return request.GetData(), err
})
- repoPath, err := helper.GetPath(repo)
+ repoPath, err := helper.GetRepositoryPath(repo, s.storages)
if err != nil {
return status.Errorf(codes.Internal, "RestoreCustomHooks: getting repo path failed %v", err)
}