From acca93af06ad54bb181630717b332e75f0aae3f6 Mon Sep 17 00:00:00 2001 From: Jeremy Lenz Date: Wed, 4 Dec 2024 12:20:52 -0500 Subject: [PATCH] Refs #38055 - Update app/lib/katello/resources/candlepin/product.rb Co-authored-by: Partha Aji --- app/lib/katello/resources/candlepin/product.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/lib/katello/resources/candlepin/product.rb b/app/lib/katello/resources/candlepin/product.rb index d06589f4e32..dcd85802ecc 100644 --- a/app/lib/katello/resources/candlepin/product.rb +++ b/app/lib/katello/resources/candlepin/product.rb @@ -4,7 +4,8 @@ module Candlepin class Product < CandlepinResource class << self def all(owner_label, included = []) - products = JSON.parse(Candlepin::CandlepinResource.get(path(owner_label) + "?active=include&#{included_list(included)}", self.default_headers).body) + url = path(owner_label) + "?active=include" + "&#{included_list(included)}" + products = JSON.parse(Candlepin::CandlepinResource.get(url, self.default_headers).body) ::Katello::Util::Data.array_with_indifferent_access products end