diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-08-12 13:57:58 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-08-12 13:57:58 +0200 |
commit | ea4ac578534d3a233c3525bf8351eb2045f6e632 (patch) | |
tree | d4c96a160a7281c3ea1492f38f2d2c2e123e57f1 /app/services/ci | |
parent | d7b681512bb738b9b2ca0c56e761616a1a761295 (diff) | |
download | gitlab-ce-ea4ac578534d3a233c3525bf8351eb2045f6e632.tar.gz |
Use event `enqueue` instead of `queue`
Diffstat (limited to 'app/services/ci')
-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 86c4823d18a..6f7610d42ba 100644 --- a/app/services/ci/process_pipeline_service.rb +++ b/app/services/ci/process_pipeline_service.rb @@ -37,7 +37,7 @@ module Ci return false unless Statuseable::COMPLETED_STATUSES.include?(current_status) if valid_statuses_for_when(build.when).include?(current_status) - build.queue + build.enqueue true else build.skip |