fix: support CentOS cloud image (#606)

https://bugzilla.redhat.com/show_bug.cgi?id=1332025
This commit is contained in:
Kota Kanbe
2018-03-06 14:10:21 +09:00
committed by GitHub
parent b08969ad89
commit 6d3398574c
2 changed files with 23 additions and 1 deletions

View File

@@ -378,7 +378,7 @@ func isCveInfoUpdated(cveID string, previous, current models.ScanResult) bool {
}
}
for _, cType := range cTypes {
if equal := prevLastModified[cType].Equal(curLastModified[cType]); !equal {
if !prevLastModified[cType].Equal(curLastModified[cType]) {
return true
}
}