Merge pull request #944 from runzexia/do-not-set-md5
do not set content md5 manually
This commit is contained in:
@@ -90,7 +90,6 @@ func UploadS2iBinary(namespace, name, md5 string, fileHeader *multipart.FileHead
|
||||
Bucket: s3Client.Bucket(),
|
||||
Key: aws.String(fmt.Sprintf("%s-%s", namespace, name)),
|
||||
Body: binFile,
|
||||
ContentMD5: aws.String(md5),
|
||||
ContentDisposition: aws.String(fmt.Sprintf("attachment; filename=\"%s\"", copy.Spec.FileName)),
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user