Commit 4405c8e3 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Remove deprecated field from workhorse API responses

parent c19ea197
...@@ -45,7 +45,6 @@ module Gitlab ...@@ -45,7 +45,6 @@ module Gitlab
raise "Unsupported action: #{action}" raise "Unsupported action: #{action}"
end end
if feature_enabled if feature_enabled
params[:GitalyAddress] = server[:address] # This field will be deprecated
params[:GitalyServer] = server params[:GitalyServer] = server
end end
......
...@@ -202,7 +202,6 @@ describe Gitlab::Workhorse do ...@@ -202,7 +202,6 @@ describe Gitlab::Workhorse do
context 'when Gitaly is enabled' do context 'when Gitaly is enabled' do
let(:gitaly_params) do let(:gitaly_params) do
{ {
GitalyAddress: Gitlab::GitalyClient.address('default'),
GitalyServer: { GitalyServer: {
address: Gitlab::GitalyClient.address('default'), address: Gitlab::GitalyClient.address('default'),
token: Gitlab::GitalyClient.token('default') token: Gitlab::GitalyClient.token('default')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment