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:
authorAlejandro Rodríguez <alejorro70@gmail.com>2017-05-04 00:07:54 +0300
committerAlejandro Rodríguez <alejorro70@gmail.com>2017-05-05 16:52:06 +0300
commit8bc381db90c92bca6ba868d1588af1ad1a41073b (patch)
treee10f3f04f40493315b02938b7a7726537072b968 /lib/api/internal.rb
parent5249157552bbf4cbf279b1decbd4a0e90e056077 (diff)
Pass GL_REPOSITORY in Workhorse responses
Diffstat (limited to 'lib/api/internal.rb')
-rw-r--r--lib/api/internal.rb2
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