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/235/head v1.2.3
Quentin Machu 8 years ago
parent cc22bd284c
commit 643ddc0cb4

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