diff options
author | Alejandro RodrÃguez <alejorro70@gmail.com> | 2017-05-03 18:07:54 -0300 |
---|---|---|
committer | Alejandro RodrÃguez <alejorro70@gmail.com> | 2017-05-05 10:52:06 -0300 |
commit | 8bc381db90c92bca6ba868d1588af1ad1a41073b (patch) | |
tree | e10f3f04f40493315b02938b7a7726537072b968 /lib/api/internal.rb | |
parent | 5249157552bbf4cbf279b1decbd4a0e90e056077 (diff) | |
download | gitlab-ce-8bc381db90c92bca6ba868d1588af1ad1a41073b.tar.gz |
Pass GL_REPOSITORY in Workhorse responses29925-gitlab-shell-hooks-can-no-longer-send-absolute-paths-to-gitlab-ce
Diffstat (limited to 'lib/api/internal.rb')
-rw-r--r-- | lib/api/internal.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/internal.rb b/lib/api/internal.rb index ddb2047f686..2a11790b215 100644 --- a/lib/api/internal.rb +++ b/lib/api/internal.rb @@ -44,7 +44,7 @@ module API # Project id to pass between components that don't share/don't have # access to the same filesystem mounts - response[:gl_repository] = "#{wiki? ? 'wiki' : 'project'}-#{project.id}" + response[:gl_repository] = Gitlab::GlRepository.gl_repository(project, wiki?) # Return the repository full path so that gitlab-shell has it when # handling ssh commands |