diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2017-04-05 16:57:23 +0300 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2017-04-05 17:29:56 +0300 |
commit | 5077079faab61a29bfb7a45e79b414ce82c16edd (patch) | |
tree | 8355cd8e75963a6bb026722f908d56a918d1ed71 /lib | |
parent | 90e0b2dfc408fda237f550cc4bd76822c12e980d (diff) |
Remove deprecated field from workhorse response
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/workhorse.rb | 7 |
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 |