clair/worker/detectors/namespace/redhatrelease
Vincent Batts ce8d31bbb3 redhatrelease: override match for RHEL hosts
Until https://github.com/coreos/clair/pull/193 is merged, having
vulnerabilities that are tagged both rhel and centos would duplicate in
the database or use a change that requires a migration.

But presently due to the fetcher logic, the rhel provided
vulnerabilities are labelled for centos, and then the namespace does not
match and therefore not tested against.

So until such a day that a vulnerability could have both rhel and centos
label, then hack this in. It'll accomplish the same during this interim.

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2016-08-12 15:35:32 -04:00
..
redhatrelease_test.go various: gofmt -s 2016-02-24 19:29:36 -05:00
redhatrelease.go redhatrelease: override match for RHEL hosts 2016-08-12 15:35:32 -04:00