app/services/katello/pulp3/repository/yum.rb in katello-4.3.1 vs app/services/katello/pulp3/repository/yum.rb in katello-4.4.0.rc1
- old
+ new
@@ -47,19 +47,9 @@
publication: repo.publication_href,
name: "#{generate_backend_object_name}"
}
end
- def mirror_remote_options
- policy = smart_proxy.download_policy
-
- if smart_proxy.download_policy == SmartProxy::DOWNLOAD_INHERIT
- policy = repo.root.download_policy
- end
-
- { policy: policy }
- end
-
def import_distribution_data
distribution = ::Katello::Pulp3::Distribution.fetch_content_list(repository_version: repo.version_href)
if distribution.results.present?
repo.update!(
:distribution_version => distribution.results.first.release_version,