vulnsrc_rhel: minor changes

delete a useless line
This commit is contained in:
Grégoire Unbekandt 2017-12-22 11:23:58 +01:00
parent 19b648e9b3
commit 8160d0ef43

View File

@ -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:] {