GCS ListMultipartUploads: Don't return on first uploadid (#7014)

ListMultipartUploads code returns only the first uploadid.

Fixes #7011
This commit is contained in:
kannappanr 2019-01-08 11:03:28 -08:00 committed by GitHub
parent 7f2d439baa
commit c59206bcd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1033,8 +1033,7 @@ func (l *gcsGateway) ListMultipartUploads(ctx context.Context, bucket string, pr
UploadID: components[3], UploadID: components[3],
Initiated: attrs.Created, Initiated: attrs.Created,
} }
uploads = []minio.MultipartInfo{upload} uploads = append(uploads, upload)
break
} }
} }