Revert "s3: listObjectParts return ErrNoSuchUpload if does not exist"

This reverts commit 6cf2e7d493.
This commit is contained in:
chrislu 2022-02-18 20:54:54 -08:00
parent 63062ed7f0
commit 9014d00fd0

View file

@ -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)