vulnsrc_rhel: minor changes
delete a useless line
This commit is contained in:
parent
19b648e9b3
commit
8160d0ef43
@ -201,7 +201,6 @@ func parseRHSA(ovalReader io.Reader) (vulnerabilities []database.VulnerabilityWi
|
||||
|
||||
// Only RHSA is present
|
||||
if len(definition.References) == 1 {
|
||||
vulnerability.Link = definition.References[0].URI
|
||||
vulnerabilities = append(vulnerabilities, vulnerability)
|
||||
} else {
|
||||
for _, reference := range definition.References[1:] {
|
||||
|
Loading…
Reference in New Issue
Block a user