Skip to content

Commit e5ed64e

Browse files
committed
revert SendContentMd5 change
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
1 parent a9f0c2a commit e5ed64e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/storage/fs/s3ng/blobstore/blobstore.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ func (bs *Blobstore) Upload(node *node.Node, source string) error {
7171
}
7272
defer reader.Close()
7373

74-
_, err = bs.client.PutObject(context.Background(), bs.bucket, bs.path(node), reader, node.Blobsize, minio.PutObjectOptions{ContentType: "application/octet-stream", SendContentMd5: false})
74+
_, err = bs.client.PutObject(context.Background(), bs.bucket, bs.path(node), reader, node.Blobsize, minio.PutObjectOptions{ContentType: "application/octet-stream", SendContentMd5: true})
7575

7676
if err != nil {
7777
return errors.Wrapf(err, "could not store object '%s' into bucket '%s'", bs.path(node), bs.bucket)

0 commit comments

Comments
 (0)