summaryrefslogtreecommitdiff
path: root/app/serializers/rollout_status_entity.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-08-02 06:10:49 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-08-02 06:10:49 +0000
commit347c7a75172d5f1e14728950fd6ce7819dfc62ab (patch)
treeb71bc953d0e087d3481992e066f492eeed577887 /app/serializers/rollout_status_entity.rb
parentfd1c75caebf0eae26d2298c68aaeac3c940f84d9 (diff)
downloadgitlab-ce-347c7a75172d5f1e14728950fd6ce7819dfc62ab.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/serializers/rollout_status_entity.rb')
-rw-r--r--app/serializers/rollout_status_entity.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/rollout_status_entity.rb b/app/serializers/rollout_status_entity.rb
index 9f4c844859b..f432fe98289 100644
--- a/app/serializers/rollout_status_entity.rb
+++ b/app/serializers/rollout_status_entity.rb
@@ -14,5 +14,5 @@ class RolloutStatusEntity < Grape::Entity
expose :completion, if: -> (rollout_status, _) { rollout_status.found? }
expose :complete?, as: :is_completed, if: -> (rollout_status, _) { rollout_status.found? }
expose :canary_ingress, using: RolloutStatuses::IngressEntity, expose_nil: false,
- if: -> (rollout_status, _) { rollout_status.found? && rollout_status.canary_ingress_exists? }
+ if: -> (rollout_status, _) { rollout_status.found? && rollout_status.canary_ingress_exists? }
end