diff options
author | Stan Hu <stanhu@gmail.com> | 2019-01-18 13:45:10 -0800 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-02-05 21:33:10 -0800 |
commit | e5990db539ccbad926616b3e01736454dca38b75 (patch) | |
tree | 7ab3df5105dfaa34bebd7bb3a324a00140aeb91a /app/models/pool_repository.rb | |
parent | 322402aada3cabe0a0e89d150ddce299e1d213e5 (diff) | |
download | gitlab-ce-e5990db539ccbad926616b3e01736454dca38b75.tar.gz |
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.rb | 3 |
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 |