update data for crating container

This commit is contained in:
Vokhmin Alexey V 2013-01-25 22:27:41 +04:00
parent 4cd85e6009
commit 01108360c9
2 changed files with 2 additions and 1 deletions

View File

@ -85,7 +85,7 @@ module AbfWorker
:distrib_type => build_list.build_for_platform.distrib_type,
:platform => {
:platform_path => platform_path,
:released => build_list.save_to_platform.released
:released => false
},
:repository => {
:name => build_list.save_to_repository.name,

View File

@ -12,6 +12,7 @@ module AbfWorker
if options['extra']['create_container'] # Container has been created
bl = BuildList.find(options['id'])
bl.update_column(:container_path, "/#{bl.save_to_platform.name}/container/#{bl.id}")
update_results(bl, options)
else
update_rpm_builds options, status
end