Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2019-01-19 00:45:10 +0300
committerStan Hu <stanhu@gmail.com>2019-02-06 08:33:10 +0300
commite5990db539ccbad926616b3e01736454dca38b75 (patch)
tree7ab3df5105dfaa34bebd7bb3a324a00140aeb91a /app/models/pool_repository.rb
parent322402aada3cabe0a0e89d150ddce299e1d213e5 (diff)
Use Project#full_path instead of Project#path_with_namespace
Diffstat (limited to 'app/models/pool_repository.rb')
-rw-r--r--app/models/pool_repository.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/pool_repository.rb b/app/models/pool_repository.rb
index be39bbe419b..4635fc72dc7 100644
--- a/app/models/pool_repository.rb
+++ b/app/models/pool_repository.rb
@@ -97,7 +97,8 @@ class PoolRepository < ActiveRecord::Base
shard.name,
disk_path + '.git',
source_project.repository.raw,
- source_project.path_with_namespace)
+ source_project.full_path
+ )
end
def inspect