app/services/katello/pulp3/repository/yum.rb in katello-4.7.6 vs app/services/katello/pulp3/repository/yum.rb in katello-4.8.0.rc1
- old
+ new
@@ -438,10 +438,11 @@
repo_service = source_repository.backend_service(SmartProxy.pulp_primary)
options = { :repository_version => source_repository.version_href }
errata_to_include = filter_errata_by_pulp_href(source_repository.errata, content_unit_hrefs,
source_repository.rpms.pluck(:filename) +
- source_repository.srpms.pluck(:filename)) -
+ source_repository.srpms.pluck(:filename),
+ source_repository.module_streams.map(&:module_spec)) -
all_excluded_errata
content_unit_hrefs += errata_to_include.collect do |erratum|
erratum.repository_errata.where(repository_id: source_repository.id).pluck(:erratum_pulp3_href)
end
content_unit_hrefs.flatten!