Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
4405c8e3
Commit
4405c8e3
authored
Aug 15, 2017
by
Jacob Vosmaer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove deprecated field from workhorse API responses
parent
c19ea197
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
2 deletions
+0
-2
lib/gitlab/workhorse.rb
lib/gitlab/workhorse.rb
+0
-1
spec/lib/gitlab/workhorse_spec.rb
spec/lib/gitlab/workhorse_spec.rb
+0
-1
No files found.
lib/gitlab/workhorse.rb
View file @
4405c8e3
...
@@ -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
...
...
spec/lib/gitlab/workhorse_spec.rb
View file @
4405c8e3
...
@@ -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'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment