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