From e319406f52f9ca5853ff70093984c764fc2d4222 Mon Sep 17 00:00:00 2001 From: albertony <12441419+albertony@users.noreply.github.com> Date: Mon, 7 Jul 2025 09:16:55 +0200 Subject: [PATCH] check: fix difference report (was reporting error counts) --- fs/operations/check.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/operations/check.go b/fs/operations/check.go index c3c747071..56be4d0fb 100644 --- a/fs/operations/check.go +++ b/fs/operations/check.go @@ -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) }