Skip to content

Commit

Permalink
vulnsrc_rhel: minor changes
Browse files Browse the repository at this point in the history
delete a useless line
  • Loading branch information
yebinama authored and Grégoire Unbekandt committed Sep 14, 2018
1 parent 4e4e98f commit 8b3338e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ext/vulnsrc/rhel/rhel.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,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:] {
Expand Down

0 comments on commit 8b3338e

Please sign in to comment.