Sha256: cef33b0d930b94dfdfdbede3226081df5127bcdf1411354e9b7bd1d3ca277cd9
Contents?: true
Size: 502 Bytes
Versions: 44
Compression:
Stored size: 502 Bytes
Contents
module Katello module ContentViewHelper def separated_repo_mapping(repo_mapping) separated_mapping = { :pulp3_yum => {}, :other => {} } repo_mapping.each do |source_repos, dest_repo| if dest_repo.content_type == "yum" && SmartProxy.pulp_primary.pulp3_support?(dest_repo) separated_mapping[:pulp3_yum][source_repos] = dest_repo else separated_mapping[:other][source_repos] = dest_repo end end separated_mapping end end end
Version data entries
44 entries across 44 versions & 1 rubygems