app/lib/actions/katello/capsule_content/sync.rb in katello-3.16.2 vs app/lib/actions/katello/capsule_content/sync.rb in katello-3.17.0.rc1
- old
+ new
@@ -29,10 +29,10 @@
content_view = ::Katello::ContentView.find(content_view_id) if content_view_id
fail _("Action not allowed for the default smart proxy.") if smart_proxy.pulp_master?
smart_proxy_helper = ::Katello::SmartProxyHelper.new(smart_proxy)
- repositories = smart_proxy_helper.combined_repos_available_to_capsule(environment, content_view, repository)
+ repositories = smart_proxy_helper.repos_available_to_capsule(environment, content_view, repository)
smart_proxy.ping_pulp if repositories.any? { |repo| !smart_proxy.pulp3_support?(repo) }
refresh_options = options.merge(content_view: content_view,
environment: environment,