app/lib/actions/katello/orphan_cleanup/remove_orphans.rb in katello-3.18.2.1 vs app/lib/actions/katello/orphan_cleanup/remove_orphans.rb in katello-3.18.3

- old
+ new

@@ -6,10 +6,10 @@ param :capsule_id end def plan(proxy) sequence do plan_action(Actions::Pulp::Orchestration::OrphanCleanup::RemoveOrphans, proxy) - if proxy.pulp3_enabled? + if proxy.pulp3_enabled? && ::Katello::Ping.pulpcore_enabled plan_action( Actions::Pulp3::Orchestration::OrphanCleanup::RemoveOrphans, proxy) end plan_self