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
path: root/lib
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2017-04-05 16:57:23 +0300
committerJacob Vosmaer <jacob@gitlab.com>2017-04-05 17:29:56 +0300
commit5077079faab61a29bfb7a45e79b414ce82c16edd (patch)
tree8355cd8e75963a6bb026722f908d56a918d1ed71 /lib
parent90e0b2dfc408fda237f550cc4bd76822c12e980d (diff)
Remove deprecated field from workhorse response
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/workhorse.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/gitlab/workhorse.rb b/lib/gitlab/workhorse.rb
index 08011301d3c..a8a7bf9bc12 100644
--- a/lib/gitlab/workhorse.rb
+++ b/lib/gitlab/workhorse.rb
@@ -45,12 +45,7 @@ module Gitlab
raise "Unsupported action: #{action}"
end
- if feature_enabled
- params[:GitalyAddress] = address
- # TODO deprecate GitalySocketPath once GITLAB_WORKHORSE_VERSION points
- # to a version that supports GitalyAddress.
- params[:GitalySocketPath] = URI(address).path
- end
+ params[:GitalyAddress] = address if feature_enabled
end
params