app/lib/actions/katello/content_view/capsule_sync.rb in katello-3.11.2 vs app/lib/actions/katello/content_view/capsule_sync.rb in katello-3.12.0.rc1

- old
+ new

@@ -7,10 +7,10 @@ end def plan(content_view, environment) sequence do concurrence do - smart_proxies = ::Katello::CapsuleContent.with_environment(environment).map { |capsule| capsule.capsule } + smart_proxies = SmartProxy.with_environment(environment) unless smart_proxies.blank? plan_action(::Actions::BulkAction, ::Actions::Katello::CapsuleContent::Sync, smart_proxies, :content_view_id => content_view.id, :environment_id => environment.id) end end