Sha256: 1b2264cd1f2a3073d4e295687f425cdb1179f8700474c80e927a7c1f49393dbc
Contents?: true
Size: 501 Bytes
Versions: 6
Compression:
Stored size: 501 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_master.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
6 entries across 6 versions & 1 rubygems