mirror of
https://github.com/genuinetools/reg.git
synced 2024-09-28 11:46:20 -04:00
add vulns to server
Signed-off-by: Jess Frazelle <acidburn@google.com>
This commit is contained in:
parent
eda57f98e3
commit
c92a83c999
1 changed files with 1 additions and 1 deletions
|
@ -389,7 +389,7 @@ func createVulnStaticPage(r *registry.Registry, staticDir, clairURI, repo, tag s
|
||||||
}
|
}
|
||||||
|
|
||||||
path := filepath.Join(staticDir, repo, tag, "vulns.txt")
|
path := filepath.Join(staticDir, repo, tag, "vulns.txt")
|
||||||
if err := os.MkdirAll(filepath.Dir(path, 0644)); err != nil {
|
if err := os.MkdirAll(filepath.Dir(path), 0644); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
file, err := os.Create(path)
|
file, err := os.Create(path)
|
||||||
|
|
Loading…
Reference in a new issue