updater: enable fetching of RHEL 5 vulnerabilities (#217)

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
pull/218/head^2
Quentin Machu 8 years ago committed by Jimmy Zelinskie
parent c1a7144113
commit be97db5261

@ -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

Loading…
Cancel
Save