mirror of
https://github.com/resf/distro-tools.git
synced 2024-11-24 22:21:26 +00:00
osv: Change ECOSYSTEM naming
This commit is contained in:
parent
0a26fbbabb
commit
f3b76fdcec
@ -116,7 +116,7 @@ def to_osv_advisory(ui_url: str, advisory: Advisory) -> OSVAdvisory:
|
|||||||
|
|
||||||
product_name = slugify(pkg.product_name)
|
product_name = slugify(pkg.product_name)
|
||||||
if pkg.supported_products_rh_mirror:
|
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:
|
if product_name not in pkg_name_map:
|
||||||
pkg_name_map[product_name] = {}
|
pkg_name_map[product_name] = {}
|
||||||
|
Loading…
Reference in New Issue
Block a user