diff --git a/models/scanresults.go b/models/scanresults.go index 050f672e..1231296e 100644 --- a/models/scanresults.go +++ b/models/scanresults.go @@ -159,8 +159,6 @@ func (r ScanResult) FilterIgnoreCves() ScanResult { if con, ok := s.Containers[r.Container.Name]; ok { ignoreCves = con.IgnoreCves } else { - util.Log.Errorf("%s is not found in config.toml", - r.Container.Name) return r } } else { @@ -212,8 +210,6 @@ func (r ScanResult) FilterIgnorePkgs() ScanResult { if con, ok := s.Containers[r.Container.Name]; ok { ignorePkgsRegexps = con.IgnorePkgsRegexp } else { - util.Log.Errorf("%s is not found in config.toml", - r.Container.Name) return r } } else {