app/views/katello/api/v2/repository_sets/show.json.rabl in katello-4.8.4 vs app/views/katello/api/v2/repository_sets/show.json.rabl in katello-4.9.0.rc1

- old
+ new

@@ -36,15 +36,15 @@ attributes :id, :name, :arch attributes :minor => :releasever end node :archRestricted do |pc| - pc.arch + pc.repositories&.first&.arch end node :osRestricted do |pc| - pc.os_versions&.first + pc.repositories&.first&.os_versions&.first end node :override do |pc| pc.override if pc.respond_to? :override end @@ -59,7 +59,13 @@ node :enabled_content_override do |pc| if pc.respond_to? :enabled_content_override override = pc.enabled_content_override override&.computed_value + end +end + +node :redhat do |pc| + if pc&.product&.respond_to? :redhat? + pc.product.redhat? end end