summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2019-01-18 13:45:10 -0800
committerStan Hu <stanhu@gmail.com>2019-02-05 21:33:10 -0800
commite5990db539ccbad926616b3e01736454dca38b75 (patch)
tree7ab3df5105dfaa34bebd7bb3a324a00140aeb91a
parent322402aada3cabe0a0e89d150ddce299e1d213e5 (diff)
downloadgitlab-ce-e5990db539ccbad926616b3e01736454dca38b75.tar.gz
Use Project#full_path instead of Project#path_with_namespace
-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