Fixed broken build
This commit is contained in:
parent
74a48ecd6b
commit
f35336a1e6
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
module Ci
|
||||
class UpdateBuildQueueService < BaseService
|
||||
class UpdateBuildQueueService
|
||||
def execute(build)
|
||||
build.project.runners.select do |runner|
|
||||
if runner.can_pick?(build)
|
||||
|
|
|
@ -4,7 +4,7 @@ class BuildQueueWorker
|
|||
|
||||
def perform(build_id)
|
||||
Ci::Build.find_by(id: build_id).try do |build|
|
||||
UpdateBuildQueueService.execute(build)
|
||||
Ci::UpdateBuildQueueService.new.execute(build)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue