Commit dcd03f18 authored by Stan Hu's avatar Stan Hu

Merge branch 'fix-mock-deployment-service-in-dev' into 'master'

Fix ::Gitlab::Kubernetes::RolloutStatus resolving

See merge request gitlab-org/gitlab-ee!9993
parents 0e0b34de 1af28f1d
......@@ -5,11 +5,11 @@ module EE
def rollout_status(environment)
case environment.name
when 'staging'
Gitlab::Kubernetes::RolloutStatus.new([], status: :not_found)
::Gitlab::Kubernetes::RolloutStatus.new([], status: :not_found)
when 'test'
Gitlab::Kubernetes::RolloutStatus.new([], status: :loading)
::Gitlab::Kubernetes::RolloutStatus.new([], status: :loading)
else
Gitlab::Kubernetes::RolloutStatus.new(rollout_status_deployments)
::Gitlab::Kubernetes::RolloutStatus.new(rollout_status_deployments)
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