app/lib/actions/katello/host/attach_subscriptions.rb in katello-3.6.0.1.rc2 vs app/lib/actions/katello/host/attach_subscriptions.rb in katello-3.7.0.rc1
- old
+ new
@@ -27,10 +27,10 @@
end
def finalize
::Katello::Pool.where(: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