diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-04 16:19:37 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-04 16:19:37 +0200 |
commit | 6f7ccea6686d4cc6c6241bc4289c13ff04cc8557 (patch) | |
tree | 0bf938ee796ef729ed0f2b66cb57e8957cb76cad /lib | |
parent | 896c3a0a9d4c9ccdfab275d772ae5991dd92865e (diff) | |
download | gitlab-ce-6f7ccea6686d4cc6c6241bc4289c13ff04cc8557.tar.gz |
Fix satellites to use filesystem. Correct post-receive user finder
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/satellite/satellite.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/satellite/satellite.rb b/lib/gitlab/satellite/satellite.rb index 95273a6d208..e7f7a7673b5 100644 --- a/lib/gitlab/satellite/satellite.rb +++ b/lib/gitlab/satellite/satellite.rb @@ -30,10 +30,10 @@ module Gitlab end def create - output, status = popen("git clone #{project.url_to_repo} #{path}", + output, status = popen("git clone #{project.repository.path_to_repo} #{path}", Gitlab.config.satellites.path) - log("PID: #{project.id}: git clone #{project.url_to_repo} #{path}") + log("PID: #{project.id}: git clone #{project.repository.path_to_repo} #{path}") log("PID: #{project.id}: -> #{output}") if status.zero? |