Merge 8152aa21c762fc5e2c4c829da155688a9e3a3174 into 0b9671313b14ffe839ecbd7dd2ae5ac7f6f05db8

This commit is contained in:
albertony 2025-04-15 05:43:42 +00:00 committed by GitHub
commit d80ab19589
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -249,7 +249,7 @@ func (c *checkMarch) reportResults(ctx context.Context, err error) error {
fs.Logf(c.opt.Fsrc, "%d %s missing", c.srcFilesMissing.Load(), entity)
}
fs.Logf(c.opt.Fdst, "%d differences found", accounting.Stats(ctx).GetErrors())
fs.Logf(c.opt.Fdst, "%d differences found", c.differences.Load())
if errs := accounting.Stats(ctx).GetErrors(); errs > 0 {
fs.Logf(c.opt.Fdst, "%d errors while checking", errs)
}