Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2016-08-25 21:49:03 +0300
committerRobert Speicher <robert@gitlab.com>2016-08-25 21:49:03 +0300
commit34a472f674fa0d26deea1b248b54a44354f889ba (patch)
treed70a6369a22c89c6a9f92963898adb76b2cc4e89 /app/services
parent1cc59ffec6f9c255edc48348a95f030917609122 (diff)
parent23bed91b3fb21a92b836011677cc75c884188f10 (diff)
Merge branch 'statuseable-hasstatus' into 'master'
rename Statuseable to HasStatus ## What does this MR do? - Rename all instances of Statuseable in the codebase, to HasStatus - Rename all files from statuseable to has_status ## What are the relevant issue numbers? Closes #21103 See merge request !6003
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 6f7610d42ba..f049ed628db 100644
--- a/app/services/ci/process_pipeline_service.rb
+++ b/app/services/ci/process_pipeline_service.rb
@@ -34,7 +34,7 @@ module Ci
end
def process_build(build, current_status)
- return false unless Statuseable::COMPLETED_STATUSES.include?(current_status)
+ return false unless HasStatus::COMPLETED_STATUSES.include?(current_status)
if valid_statuses_for_when(build.when).include?(current_status)
build.enqueue