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:
authorTomasz Maczukin <tomasz@maczukin.pl>2018-04-18 00:09:20 +0300
committerTomasz Maczukin <tomasz@maczukin.pl>2018-04-18 00:09:20 +0300
commitcca5797f05e5611a66c19f94a24a4ce6d2ed9859 (patch)
treec6745bfd74908c8015db0856750cd15353ea7530 /app/services/ci
parent2cc78c0b03d9468e25bbf4805fe1d55e414840ff (diff)
Temporary fix for eager loading issue in Ci::RegisterJobService
Diffstat (limited to 'app/services/ci')
-rw-r--r--app/services/ci/register_job_service.rb2
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 e09b445636f..113dcdd7201 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.find do |build|
+ builds.auto_include(false).find do |build|
next unless runner.can_pick?(build)
begin