Signed-off-by: Jess Frazelle <acidburn@google.com>
This commit is contained in:
Jess Frazelle 2017-03-04 23:09:58 -08:00
parent 99c9827732
commit bcb7a8dccf
No known key found for this signature in database
GPG key ID: 18F3685C0022BFF3

View file

@ -348,6 +348,7 @@ func createVulnStaticPage(r *registry.Registry, staticDir, clairURI, repo, tag s
defer file.Close()
fmt.Fprintf(file, "Found %d vulnerabilities \n", len(vulns))
fmt.Fprintln(file, "")
vulnsBy := func(sev string, store map[string][]clair.Vulnerability) []clair.Vulnerability {
items, found := store[sev]