app/helpers/katello/sync_management_helper.rb in katello-3.18.5 vs app/helpers/katello/sync_management_helper.rb in katello-4.0.0.rc1
- old
+ new
@@ -33,11 +33,9 @@
end
module RepoMethods
# returns all repos in hash representation with minors and arch children included
def collect_repos(products, env, include_feedless = true)
- Glue::Pulp::Repos.prepopulate! products, env, []
-
products.map do |prod|
minor_repos, repos_without_minor = collect_minor(prod.repos(env, nil, include_feedless))
{ :name => prod.name, :object => prod, :id => prod.id, :type => "product", :repos => repos_without_minor,
:children => minors(minor_repos), :organization => prod.organization.name }
end