diff options
| author | chrislu <chris.lu@gmail.com> | 2022-02-18 22:14:40 -0800 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2022-02-18 22:14:40 -0800 |
| commit | 61811dc2f1fd1391a9e0ed6af063a80e38b9ec5a (patch) | |
| tree | e11afac1a48b22e3fd43194cf8a23ba2d0e0b704 | |
| parent | daa27b21192a2b40501c10049f934c74c37584d9 (diff) | |
| download | seaweedfs-61811dc2f1fd1391a9e0ed6af063a80e38b9ec5a.tar.xz seaweedfs-61811dc2f1fd1391a9e0ed6af063a80e38b9ec5a.zip | |
comments
| -rw-r--r-- | weed/s3api/filer_multipart.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/weed/s3api/filer_multipart.go b/weed/s3api/filer_multipart.go index 1795ade93..1514e2aa8 100644 --- a/weed/s3api/filer_multipart.go +++ b/weed/s3api/filer_multipart.go @@ -271,6 +271,9 @@ func (s3a *S3ApiServer) listObjectParts(input *s3.ListPartsInput) (output *ListP return nil, s3err.ErrNoSuchUpload } + // Note: The upload directory is sort of a marker of the existence of an multipart upload request. + // So can not just delete empty upload folders. + output.IsTruncated = aws.Bool(!isLast) for _, entry := range entries { |
