mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-11-24 02:59:13 +08:00
Revert "s3: listObjectParts return ErrNoSuchUpload if does not exist"
This reverts commit 6cf2e7d493
.
This commit is contained in:
parent
fe57a2e770
commit
3914c98d05
@ -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)
|
glog.Errorf("listObjectParts %s %s error: %v", *input.Bucket, *input.UploadId, err)
|
||||||
return nil, s3err.ErrNoSuchUpload
|
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)
|
output.IsTruncated = aws.Bool(!isLast)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user