Skip to content
Snippets Groups Projects
Commit 5077079f authored by Jacob Vosmaer (GitLab)'s avatar Jacob Vosmaer (GitLab)
Browse files

Remove deprecated field from workhorse response

parent 90e0b2df
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
Loading
Loading
@@ -188,10 +188,8 @@ describe Gitlab::Workhorse, lib: true do
 
context 'when Gitaly is enabled' do
let(:gitaly_params) do
address = Gitlab::GitalyClient.get_address('default')
{
GitalySocketPath: URI(address).path,
GitalyAddress: address,
GitalyAddress: Gitlab::GitalyClient.get_address('default'),
}
end
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment