s3: Add the md5 value to debug message for multipart chunk for S3

Adding md5 information to debug message for multipart upload as this is useful when testing.
This commit is contained in:
interested.tortoise authored and Nick Craig-Wood committed 2026-09-30 17:13:04 +01:00
1 parent 8cd43746a3
commit 9daa4ccfeb
1 file changed
+1 -1
+1 -1
View File
@@ -4784,7 +4784,7 @@ func (w *s3ChunkWriter) WriteChunk(ctx context.Context, chunkNumber int, reader
w.addCompletedPart(s3PartNumber, uout.ETag)
fs.Debugf(w.o, "multipart upload wrote chunk %d with %v bytes and etag %v", chunkNumber+1, currentChunkSize, *uout.ETag)
fs.Debugf(w.o, "multipart upload wrote chunk %d with %v bytes, etag %v and md5 %v", chunkNumber+1, currentChunkSize, *uout.ETag, hex.EncodeToString(md5sumBinary))
return currentChunkSize, err
}