From 61811dc2f1fd1391a9e0ed6af063a80e38b9ec5a Mon Sep 17 00:00:00 2001 From: chrislu Date: Fri, 18 Feb 2022 22:14:40 -0800 Subject: [PATCH] comments --- weed/s3api/filer_multipart.go | 3 +++ 1 file changed, 3 insertions(+) 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 {