From 93228dfcc91c151f02bf1c202e357cce3058d0c5 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Tue, 13 Aug 2019 16:43:24 +0100 Subject: [PATCH] operations: debug successful hashes as well as failures #3419 --- fs/operations/operations.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/operations/operations.go b/fs/operations/operations.go index 62c40a036..c7c4934e6 100644 --- a/fs/operations/operations.go +++ b/fs/operations/operations.go @@ -89,6 +89,8 @@ func checkHashes(ctx context.Context, src fs.ObjectInfo, dst fs.Object, ht hash. if srcHash != dstHash { fs.Debugf(src, "%v = %s (%v)", ht, srcHash, src.Fs()) fs.Debugf(dst, "%v = %s (%v)", ht, dstHash, dst.Fs()) + } else { + fs.Debugf(src, "%v = %s OK", ht, srcHash) } return srcHash == dstHash, ht, srcHash, dstHash, nil }