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
ad7146f8
Commit
ad7146f8
authored
Jun 16, 2017
by
Nick Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix conflict in spec/support/kubernetes_helpers.rb
parent
f9ac118e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
12 deletions
+0
-12
spec/support/kubernetes_helpers.rb
spec/support/kubernetes_helpers.rb
+0
-12
No files found.
spec/support/kubernetes_helpers.rb
View file @
ad7146f8
...
...
@@ -9,7 +9,6 @@ module KubernetesHelpers
kube_response
(
kube_pods_body
)
end
<<<<<<<
HEAD
def
kube_deployments_response
kube_response
(
kube_deployments_body
)
end
...
...
@@ -17,10 +16,6 @@ module KubernetesHelpers
def
stub_kubeclient_discover
WebMock
.
stub_request
(
:get
,
service
.
api_url
+
'/api/v1'
).
to_return
(
kube_response
(
kube_v1_discovery_body
))
WebMock
.
stub_request
(
:get
,
service
.
api_url
+
'/apis/extensions/v1beta1'
).
to_return
(
kube_response
(
kube_v1beta1_discovery_body
))
=======
def
stub_kubeclient_discover
WebMock
.
stub_request
(
:get
,
service
.
api_url
+
'/api/v1'
).
to_return
(
kube_response
(
kube_v1_discovery_body
))
>>>>>>>
ce
/
master
end
def
stub_kubeclient_pods
(
response
=
nil
)
...
...
@@ -30,7 +25,6 @@ module KubernetesHelpers
WebMock
.
stub_request
(
:get
,
pods_url
).
to_return
(
response
||
kube_pods_response
)
end
<<<<<<<
HEAD
def
stub_kubeclient_deployments
(
response
=
nil
)
stub_kubeclient_discover
deployments_url
=
service
.
api_url
+
"/apis/extensions/v1beta1/namespaces/
#{
service
.
actual_namespace
}
/deployments"
...
...
@@ -49,9 +43,6 @@ module KubernetesHelpers
end
def
kube_v1beta1_discovery_body
=======
def
kube_v1_discovery_body
>>>>>>>
ce
/
master
{
"kind"
=>
"APIResourceList"
,
"resources"
=>
[
...
...
@@ -66,7 +57,6 @@ module KubernetesHelpers
"kind"
=>
"PodList"
,
"items"
=>
[
kube_pod
]
}
<<<<<<<
HEAD
end
def
kube_deployments_body
...
...
@@ -74,8 +64,6 @@ module KubernetesHelpers
"kind"
=>
"DeploymentList"
,
"items"
=>
[
kube_deployment
]
}
=======
>>>>>>>
ce
/
master
end
# This is a partial response, it will have many more elements in reality but
...
...
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