app/lib/actions/katello/host/remove_subscriptions.rb in katello-3.0.2 vs app/lib/actions/katello/host/remove_subscriptions.rb in katello-3.1.0.rc1

- old
+ new

@@ -7,10 +7,10 @@ def plan(host, entitlements) action_subject(host) entitlements.each do |entitlement| plan_action(::Actions::Candlepin::Consumer::RemoveSubscription, :uuid => host.subscription_facet.uuid, - :entitlement_id => entitlement['id']) + :entitlement_id => entitlement['id'], :pool_id => entitlement['pool']['id']) plan_self(:host_name => host.name) end end def rescue_strategy