Actions
Bug #13511
openrepository export of a repo w/o rpm packages errors
Status:
New
Priority:
Normal
Assignee:
-
Category:
Inter Server Sync
Target version:
-
Description
The "export_distributor" is only associated with repos that contain RPMs. If it only has puppet (and, I assume, the same for docker) then crashes here
app/lib/actions/pulp/repository/distributor_publish.rb def distributor_id(pulp_id, distributor_type_id) distributor = repo(pulp_id)["distributors"].find do |dist| dist["distributor_type_id"] == distributor_type_id end --> distributor['id'] end
This error is fixable once this PR goes in:
https://github.com/Katello/katello/pull/5711
Actions