mirror of
https://github.com/genuinetools/reg.git
synced 2024-06-28 10:24:17 -04:00
return
Signed-off-by: Jess Frazelle <acidburn@google.com>
This commit is contained in:
parent
99c9827732
commit
bcb7a8dccf
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue