diff options
author | De Wet Blomerus <dewet@blomerus.org> | 2016-08-25 04:55:32 +0200 |
---|---|---|
committer | De Wet Blomerus <dewet@blomerus.org> | 2016-08-25 04:55:32 +0200 |
commit | 23bed91b3fb21a92b836011677cc75c884188f10 (patch) | |
tree | 537b13118dcaff623375ee78a1484242361d415a /app/services | |
parent | 6fb46b604e4feebcbaa92d3d44d7616be709c0e5 (diff) | |
download | gitlab-ce-23bed91b3fb21a92b836011677cc75c884188f10.tar.gz |
rename Statuseable to HasStatus
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/ci/process_pipeline_service.rb | 2 |
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 |