Temporally hook...

This commit is contained in:
Vokhmin Alexey V 2013-11-27 16:25:44 +04:00
parent e40c076a38
commit c2f6774479
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ class Api::V1::JobsController < Api::V1::BaseController
if current_user.system?
# Temporally
# if task = (Resque.pop('rpm_worker_default') || Resque.pop('rpm_worker'))
if task = Resque.pop('rpm_worker_default')
if task = Resque.pop('rpm_worker')
@build_list = BuildList.where(:id => task['args'][0]['id']).first
end
@build_list ||= build_lists.external_nodes(:everything).first