mirror of https://github.com/minio/minio.git
fs/multipart: save metadata(fs.json) for multipart uploads. (#2450)
This commit is contained in:
parent
c054e633fd
commit
8e2f64aea4
|
@ -255,7 +255,6 @@ func (fs fsObjects) newMultipartUpload(bucket string, object string, meta map[st
|
||||||
//
|
//
|
||||||
// Implements S3 compatible initiate multipart API.
|
// Implements S3 compatible initiate multipart API.
|
||||||
func (fs fsObjects) NewMultipartUpload(bucket, object string, meta map[string]string) (string, error) {
|
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.
|
// Verify if bucket name is valid.
|
||||||
if !IsValidBucketName(bucket) {
|
if !IsValidBucketName(bucket) {
|
||||||
return "", BucketNameInvalid{Bucket: bucket}
|
return "", BucketNameInvalid{Bucket: bucket}
|
||||||
|
|
Loading…
Reference in New Issue