feat(go-cve): update go-cve-dictionary (#1287)

diff: a31a3152c1...5043255
This commit is contained in:
Kota Kanbe
2021-08-19 05:34:03 +09:00
committed by GitHub
parent fb8749fc5e
commit 24f790f474
3 changed files with 38 additions and 21 deletions

View File

@@ -26,7 +26,9 @@ type goCveDictClient struct {
}
func newGoCveDictClient(cnf config.VulnDictInterface, o logging.LogOpts) (*goCveDictClient, error) {
cvelog.SetLogger(o.Debug, o.Quiet, false, o.LogToFile, o.LogDir)
if err := cvelog.SetLogger(o.LogToFile, o.LogDir, o.Debug, false); err != nil {
return nil, err
}
driver, locked, err := newCveDB(cnf)
if locked {