Skip to content

Commit

Permalink
Merge pull request #304 from exoscale/fix/content-md5
Browse files Browse the repository at this point in the history
sos upload: always send content md5
  • Loading branch information
brutasse committed Dec 16, 2020
2 parents 723123a + a0364d5 commit 23b20ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/sos_upload.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,8 @@ var sosUploadCmd = &cobra.Command{
reader,
fileInfo.Size(),
minio.PutObjectOptions{
ContentType: fileToUP.contentType,
ContentType: fileToUP.contentType,
SendContentMd5: true,
},
)
if upErr != nil {
Expand Down

0 comments on commit 23b20ae

Please sign in to comment.