app/lib/actions/katello/orphan_cleanup/remove_orphans.rb in katello-4.0.3 vs app/lib/actions/katello/orphan_cleanup/remove_orphans.rb in katello-4.1.0.rc1

- old
+ new

@@ -1,14 +1,14 @@ module Actions module Katello module OrphanCleanup - class RemoveOrphans < Actions::Base + class RemoveOrphans < Pulp::Abstract input_format do param :capsule_id end def plan(proxy) sequence do - plan_action(Actions::Pulp::Orchestration::OrphanCleanup::RemoveOrphans, proxy) if (proxy.has_feature?(SmartProxy::PULP_FEATURE) || proxy.has_feature?(SmartProxy::PULP_NODE_FEATURE)) + plan_action(Actions::Pulp::Orchestration::OrphanCleanup::RemoveOrphans, proxy) if proxy.pulp3_enabled? plan_action( Actions::Pulp3::Orchestration::OrphanCleanup::RemoveOrphans, proxy) end