Commit 1af28f1d authored by Vladimir Shushlin's avatar Vladimir Shushlin Committed by Stan Hu

Fix ::Gitlab::Kubernetes::RolloutStatus resolving

parent 0e0b34de
...@@ -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
......
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