diff options
author | Robert Speicher <rspeicher@gmail.com> | 2018-04-18 20:56:59 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2018-04-18 20:56:59 +0300 |
commit | 61250269ecdd93cc6dbd51979ac15b21cfa542ee (patch) | |
tree | 0ee99ccb76e943e6e9959a10099431ce48c4bad8 /app | |
parent | 135c339965fbd892851daf161ad41ed9e4966afc (diff) |
Revert "Merge branch '45473-temporary-fix-for-ci-register-jobs-service' into 'master'"
This reverts commit 3dac487a62fed910559baedf5ea1a7c43f79554a.
Diffstat (limited to 'app')
-rw-r--r-- | app/services/ci/register_job_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/ci/register_job_service.rb b/app/services/ci/register_job_service.rb index 113dcdd7201..e09b445636f 100644 --- a/app/services/ci/register_job_service.rb +++ b/app/services/ci/register_job_service.rb @@ -30,7 +30,7 @@ module Ci end end - builds.auto_include(false).find do |build| + builds.find do |build| next unless runner.can_pick?(build) begin |