Only replace rhel when it's a container name

This commit is contained in:
Mustafa Gezen 2023-02-22 02:20:56 +01:00
parent ca132958b0
commit dc804bc06c
Signed by untrusted user who does not match committer: mustafa
GPG Key ID: DCDF010D946438C1
1 changed files with 0 additions and 1 deletions

View File

@ -188,7 +188,6 @@ async def clone_advisory(
)
synopsis = synopsis.replace("RHEL", product.name)
synopsis = RHEL_CONTAINER_RE.sub("", synopsis)
synopsis = synopsis.replace("rhel", product.name)
synopsis = synopsis.replace("Red Hat", product.vendor)
synopsis = synopsis.replace(advisory.name, name)
description = advisory.description.replace(