未验证 提交 c52f9284 编写于 作者: K KubeSphere CI Bot 提交者: GitHub

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

do not set content md5 manually
......@@ -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)),
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册