From 01108360c9a3ee5a1743e96fa4913cdedc1165f4 Mon Sep 17 00:00:00 2001 From: Vokhmin Alexey V Date: Fri, 25 Jan 2013 22:27:41 +0400 Subject: [PATCH] update data for crating container --- lib/abf_worker/build_lists_publish_task_manager.rb | 2 +- lib/abf_worker/publish_observer.rb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/abf_worker/build_lists_publish_task_manager.rb b/lib/abf_worker/build_lists_publish_task_manager.rb index 0e600159c..8683f151b 100644 --- a/lib/abf_worker/build_lists_publish_task_manager.rb +++ b/lib/abf_worker/build_lists_publish_task_manager.rb @@ -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, diff --git a/lib/abf_worker/publish_observer.rb b/lib/abf_worker/publish_observer.rb index cbcff4452..86abf86e8 100644 --- a/lib/abf_worker/publish_observer.rb +++ b/lib/abf_worker/publish_observer.rb @@ -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