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
1af28f1d
Commit
1af28f1d
authored
Mar 13, 2019
by
Vladimir Shushlin
Committed by
Stan Hu
Mar 13, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix ::Gitlab::Kubernetes::RolloutStatus resolving
parent
0e0b34de
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ee/app/models/ee/mock_deployment_service.rb
ee/app/models/ee/mock_deployment_service.rb
+3
-3
No files found.
ee/app/models/ee/mock_deployment_service.rb
View file @
1af28f1d
...
@@ -5,11 +5,11 @@ module EE
...
@@ -5,11 +5,11 @@ module EE
def
rollout_status
(
environment
)
def
rollout_status
(
environment
)
case
environment
.
name
case
environment
.
name
when
'staging'
when
'staging'
Gitlab
::
Kubernetes
::
RolloutStatus
.
new
([],
status: :not_found
)
::
Gitlab
::
Kubernetes
::
RolloutStatus
.
new
([],
status: :not_found
)
when
'test'
when
'test'
Gitlab
::
Kubernetes
::
RolloutStatus
.
new
([],
status: :loading
)
::
Gitlab
::
Kubernetes
::
RolloutStatus
.
new
([],
status: :loading
)
else
else
Gitlab
::
Kubernetes
::
RolloutStatus
.
new
(
rollout_status_deployments
)
::
Gitlab
::
Kubernetes
::
RolloutStatus
.
new
(
rollout_status_deployments
)
end
end
end
end
...
...
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