fix: undefined local variable or method `status' for AbfWorker::PublishObserver:Class

This commit is contained in:
Vokhmin Alexey V 2013-01-23 14:47:32 +04:00
parent a1444cad6b
commit fe516b1ad2
1 changed files with 2 additions and 2 deletions

View File

@ -9,11 +9,11 @@ module AbfWorker
if options['type'] == 'resign'
AbfWorker::BuildListsPublishTaskManager.unlock_repository options['id']
else
update_rpm_builds options
update_rpm_builds options, status
end
end
def self.update_rpm_builds(options)
def self.update_rpm_builds(options, status)
build_lists = BuildList.where(:id => options['build_list_ids'])
build_lists.each do |bl|
update_results(bl, options)