From c59206bcd3fcfc88e2d9a06c429085e58409fed9 Mon Sep 17 00:00:00 2001 From: kannappanr <30541348+kannappanr@users.noreply.github.com> Date: Tue, 8 Jan 2019 11:03:28 -0800 Subject: [PATCH] GCS ListMultipartUploads: Don't return on first uploadid (#7014) ListMultipartUploads code returns only the first uploadid. Fixes #7011 --- cmd/gateway/gcs/gateway-gcs.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/gateway/gcs/gateway-gcs.go b/cmd/gateway/gcs/gateway-gcs.go index 2650ca682..a385a67d4 100644 --- a/cmd/gateway/gcs/gateway-gcs.go +++ b/cmd/gateway/gcs/gateway-gcs.go @@ -1033,8 +1033,7 @@ func (l *gcsGateway) ListMultipartUploads(ctx context.Context, bucket string, pr UploadID: components[3], Initiated: attrs.Created, } - uploads = []minio.MultipartInfo{upload} - break + uploads = append(uploads, upload) } }