Actions
Bug #26478
closedRemove dead code on pulp-2.19 upgrade
Description
https://github.com/Katello/katello/blob/master/app/services/katello/pulp/repository.rb#L241-L252
if content_type == ::Katello::Erratum::CONTENT_TYPE # copy the modules belonging to this errarta over (pulp 2.19 should handle this case out of the box) # remove this code after 2.19 module_stream_ids = units.map do |erratum| erratum.module_stream_objects.map(&:pulp_id) end module_stream_ids.flatten! smart_proxy.pulp_api.extensions.module.copy(repo.pulp_id, destination_repo.pulp_id, ids: module_stream_ids, override_config: override_config) end
Needs to get removed when pulp 2.19 upgrade happens
Actions