fix(report): remove duplicated refreshing logic when report with -diff (#1160)

This commit is contained in:
Kota Kanbe
2021-02-03 07:37:19 +09:00
committed by GitHub
parent fea7e93c8d
commit d4af341b0f
3 changed files with 3 additions and 9 deletions

View File

@@ -504,7 +504,7 @@ func loadPrevious(currs models.ScanResults) (prevs models.ScanResults, err error
path := filepath.Join(dir, filename)
r, err := loadOneServerScanResult(path)
if err != nil {
util.Log.Errorf("%+v", err)
util.Log.Debugf("%+v", err)
continue
}
if r.Family == result.Family && r.Release == result.Release {