From f3b76fdcec06a466436f00cf63f48a03e5cbc31a Mon Sep 17 00:00:00 2001 From: Mustafa Gezen Date: Mon, 6 Mar 2023 06:09:42 +0100 Subject: [PATCH] osv: Change ECOSYSTEM naming --- apollo/server/routes/api_osv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apollo/server/routes/api_osv.py b/apollo/server/routes/api_osv.py index 61abeeb..062ec1a 100644 --- a/apollo/server/routes/api_osv.py +++ b/apollo/server/routes/api_osv.py @@ -116,7 +116,7 @@ def to_osv_advisory(ui_url: str, advisory: Advisory) -> OSVAdvisory: product_name = slugify(pkg.product_name) if pkg.supported_products_rh_mirror: - product_name = f"{slugify(pkg.supported_product.variant)}:{pkg.supported_products_rh_mirror.match_major_version}" + product_name = f"{pkg.supported_product.variant}:{pkg.supported_products_rh_mirror.match_major_version}" if product_name not in pkg_name_map: pkg_name_map[product_name] = {}