From 9014d00fd06ec1ad1e22aa815c0992331c366c82 Mon Sep 17 00:00:00 2001 From: chrislu Date: Fri, 18 Feb 2022 20:54:54 -0800 Subject: [PATCH] Revert "s3: listObjectParts return ErrNoSuchUpload if does not exist" This reverts commit 6cf2e7d49300b96263845337aa0b64a54e21e094. --- weed/s3api/filer_multipart.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/weed/s3api/filer_multipart.go b/weed/s3api/filer_multipart.go index e687fba10..1795ade93 100644 --- a/weed/s3api/filer_multipart.go +++ b/weed/s3api/filer_multipart.go @@ -270,10 +270,6 @@ func (s3a *S3ApiServer) listObjectParts(input *s3.ListPartsInput) (output *ListP glog.Errorf("listObjectParts %s %s error: %v", *input.Bucket, *input.UploadId, err) return nil, s3err.ErrNoSuchUpload } - if len(entries) == 0 { - glog.Errorf("listObjectParts %s %s not found", *input.Bucket, *input.UploadId) - return nil, s3err.ErrNoSuchUpload - } output.IsTruncated = aws.Bool(!isLast)