app/lib/actions/katello/capsule_content/sync.rb in katello-4.7.6 vs app/lib/actions/katello/capsule_content/sync.rb in katello-4.8.0.rc1
- old
+ new
@@ -32,13 +32,9 @@
refresh_options = options.merge(content_view: content_view,
environment: environment,
repository: repository)
sequence do
- if smart_proxy.has_feature?(SmartProxy::PULP_NODE_FEATURE)
- plan_action(Actions::Pulp::Orchestration::Repository::RefreshRepos, smart_proxy, refresh_options)
- end
-
if smart_proxy.has_feature?(SmartProxy::PULP3_FEATURE)
plan_action(Actions::Pulp3::ContentGuard::Refresh, smart_proxy)
plan_action(Actions::Pulp3::Orchestration::Repository::RefreshRepos, smart_proxy, refresh_options)
end
plan_action(SyncCapsule, smart_proxy, refresh_options)