fs/multipart: save metadata(fs.json) for multipart uploads. (#2450)

This commit is contained in:
Krishna Srinivas 2016-08-16 22:34:40 +05:30 committed by Harshavardhana
parent c054e633fd
commit 8e2f64aea4

View File

@ -255,7 +255,6 @@ func (fs fsObjects) newMultipartUpload(bucket string, object string, meta map[st
//
// Implements S3 compatible initiate multipart API.
func (fs fsObjects) NewMultipartUpload(bucket, object string, meta map[string]string) (string, error) {
meta = make(map[string]string) // Reset the meta value, we are not going to save headers for fs.
// Verify if bucket name is valid.
if !IsValidBucketName(bucket) {
return "", BucketNameInvalid{Bucket: bucket}