app/lib/actions/katello/host/remove_subscriptions.rb in katello-3.6.0.1.rc2 vs app/lib/actions/katello/host/remove_subscriptions.rb in katello-3.7.0.rc1
- old
+ new
@@ -26,10 +26,10 @@
end
def finalize
::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
+ host.subscription_facet.import_database_attributes
end
def rescue_strategy
Dynflow::Action::Rescue::Skip
end