Skip to content

Commit

Permalink
updater: enable fetching of RHEL 5 vulnerabilities (#217)
Browse files Browse the repository at this point in the history
The RHEL updater currently ignores vulnerabilities for CentOS <= 5.
s the naming of the constant firstConsideredRHEL suggests it, it
should actually considers CentOS 5 and ignores CentOS < 5.

Fixes #215
  • Loading branch information
Quentin-M authored and jzelinskie committed Jul 15, 2016
1 parent c1a7144 commit be97db5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion updater/fetchers/rhel/rhel.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ func toFeatureVersions(criteria criteria) []database.FeatureVersion {
}
}

if osVersion > firstConsideredRHEL {
if osVersion >= firstConsideredRHEL {
featureVersion.Feature.Namespace.Name = "centos" + ":" + strconv.Itoa(osVersion)
} else {
continue
Expand Down

0 comments on commit be97db5

Please sign in to comment.