Merge pull request #944 from runzexia/do-not-set-md5

do not set content md5 manually
This commit is contained in:
KubeSphere CI Bot
2019-10-12 18:50:09 +08:00
committed by GitHub

View File

@@ -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)),
})