feat(redhat): ignore will not fix vulns (#858)

This commit is contained in:
Kota Kanbe
2019-07-03 20:59:23 +09:00
committed by GitHub
parent f8c0b38716
commit 3e5390309c
8 changed files with 182 additions and 56 deletions

View File

@@ -88,7 +88,7 @@ func (h VulsHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
defer dbclient.CloseDB()
if err := report.FillCveInfo(*dbclient, &result, []string{}); err != nil {
if err := report.FillCveInfo(*dbclient, &result, []string{}, true); err != nil {
util.Log.Error(err)
http.Error(w, err.Error(), http.StatusServiceUnavailable)
return