upload skipping mimetype if not needed

This commit is contained in:
Chris Lu
2019-12-15 20:57:08 -08:00
parent e6ee421d61
commit 392678f8f3
6 changed files with 6 additions and 6 deletions

View File

@@ -203,7 +203,7 @@ func upload_one_chunk(filename string, reader io.Reader, master,
) (size uint32, e error) {
glog.V(4).Info("Uploading part ", filename, " to ", fileUrl, "...")
uploadResult, uploadError := Upload(fileUrl, filename, reader, false,
"application/octet-stream", nil, jwt)
"", nil, jwt)
if uploadError != nil {
return 0, uploadError
}