diff options
author | Kim "BKC" Carlbäcker <kim.carlbacker@gmail.com> | 2016-12-16 03:04:18 +0300 |
---|---|---|
committer | Kim "BKC" Carlbäcker <kim.carlbacker@gmail.com> | 2016-12-16 03:04:18 +0300 |
commit | 811addf2d16bd912efa095b6b5a5f93d620089ec (patch) | |
tree | f46ecd7cf5b95bb1aaa9ed43bd27cd3e4c5a8468 /app/workers/build_queue_worker.rb | |
parent | a20681c093d5444d24c54f41fd49a98ef919cd42 (diff) |
#NamingThings
Diffstat (limited to 'app/workers/build_queue_worker.rb')
-rw-r--r-- | app/workers/build_queue_worker.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/workers/build_queue_worker.rb b/app/workers/build_queue_worker.rb index 8cc99eabdfe..c0ceb8d423a 100644 --- a/app/workers/build_queue_worker.rb +++ b/app/workers/build_queue_worker.rb @@ -4,8 +4,7 @@ class BuildQueueWorker def perform(build_id) Ci::Build.find_by(id: build_id).try do |build| - UpdateBuildQueueService.new(build) + UpdateBuildQueueService.execute(build) end end - end |