app/lib/actions/katello/host/remove_subscriptions.rb in katello-3.4.5 vs app/lib/actions/katello/host/remove_subscriptions.rb in katello-3.5.0.rc1

- old
+ new

@@ -24,10 +24,10 @@ end plan_self(:host_id => host.id, :host_name => host.name, :pool_ids => pool_ids) end def finalize - ::Katello::Pool.where(:cp_id => input[:pool_ids]).each(&:import_data) + ::Katello::Pool.where(:cp_id => input[:pool_ids]).map { |pool| pool.import_data(false) } host = ::Host.find_by(:id => input[:host_id]) host.subscription_facet.update_subscription_status end def rescue_strategy