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
Updated by Jonathon Turel almost 7 years ago
- Target version set to Katello 3.12.0
- Triaged changed from No to Yes
Updated by The Foreman Bot almost 7 years ago
- Status changed from New to Ready For Testing
- Assignee set to Partha Aji
- Pull request https://github.com/Katello/katello/pull/8072 added
Updated by Anonymous almost 7 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|dc8776cfbe29a3e9b8dbc5551bd5316e8773ffa2.
Actions