feat(ubuntu): Support Ubuntu 14.04 and 16.04 ESM (#1682)

* feat(ubuntu): Support Ubuntu ESM

* Sort PackageFixStatuses to resolve the diff in integrationTest

* go mod update gost
This commit is contained in:
Kota Kanbe
2023-05-31 09:27:43 +09:00
committed by GitHub
parent 6271ec522e
commit 5a6980436a
5 changed files with 31 additions and 5 deletions

View File

@@ -270,6 +270,7 @@ func (ubu Ubuntu) detect(cves map[string]gostmodels.UbuntuCVE, fixed bool, srcPk
}
if len(c.fixStatuses) > 0 {
c.fixStatuses.Sort()
contents = append(contents, c)
}
}