app/services/katello/pulp3/repository/yum.rb in katello-4.0.0 vs app/services/katello/pulp3/repository/yum.rb in katello-4.0.1

- old
+ new

@@ -59,10 +59,10 @@ :distribution_family => distribution.results.first.release_name, :distribution_bootable => self.class.distribution_bootable?(distribution) ) unless distribution.results.first.variants.empty? unless distribution.results.first.variants.first.name.nil? - repo.update!(:distribution_variant => distribution.results.first.variants.first.name) + repo.update!(:distribution_variant => distribution.results.first.variants.map(&:name).join(',')) end end end end