summaryrefslogtreecommitdiff
path: root/app/services
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-09-27 13:52:15 +0900
committerAlessio Caiazza <acaiazza@gitlab.com>2018-10-02 17:08:12 +0200
commitddb313aebf2c499264b32567d3509f152c242d7a (patch)
tree63a0b07a4e5c03c54ab30ed6ea6fd0de6960bcf1 /app/services
parent6d712148c9595c4c87247757100ca80198cdd889 (diff)
downloadgitlab-ce-ddb313aebf2c499264b32567d3509f152c242d7a.tar.gz
Remove Scheduled Status class from pipeline
Diffstat (limited to 'app/services')
-rw-r--r--app/services/ci/process_pipeline_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/ci/process_pipeline_service.rb b/app/services/ci/process_pipeline_service.rb
index 1d1e39232fe..5e8a3976cc0 100644
--- a/app/services/ci/process_pipeline_service.rb
+++ b/app/services/ci/process_pipeline_service.rb
@@ -24,7 +24,7 @@ module Ci
def process_stage(index)
current_status = status_for_prior_stages(index)
- return if HasStatus::BLOCKED_STATUS == current_status
+ return if HasStatus::BLOCKED_STATUS.include?(current_status)
if HasStatus::COMPLETED_STATUSES.include?(current_status)
created_builds_in_stage(index).select do |build|