diff options
| author | Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.com> | 2022-06-29 16:21:16 +0500 |
|---|---|---|
| committer | Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.com> | 2022-06-29 16:21:16 +0500 |
| commit | bcbdc4cb37027be16810d0307676a3f7372f30e1 (patch) | |
| tree | f155bc55e3dfe79bc864183f975c4d395c3cb334 /weed/s3api/s3api_objects_list_handlers.go | |
| parent | c6e6e303db12b61b899b62bfda7f65ae48f6e01c (diff) | |
| download | seaweedfs-bcbdc4cb37027be16810d0307676a3f7372f30e1.tar.xz seaweedfs-bcbdc4cb37027be16810d0307676a3f7372f30e1.zip | |
use const multipart uploads folder
avoid error bucket NotEmpty if multipart uploads folder exist
Diffstat (limited to 'weed/s3api/s3api_objects_list_handlers.go')
| -rw-r--r-- | weed/s3api/s3api_objects_list_handlers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/s3api/s3api_objects_list_handlers.go b/weed/s3api/s3api_objects_list_handlers.go index 6b934bccd..975ba6201 100644 --- a/weed/s3api/s3api_objects_list_handlers.go +++ b/weed/s3api/s3api_objects_list_handlers.go @@ -309,7 +309,7 @@ func (s3a *S3ApiServer) doListFilerEntries(client filer_pb.SeaweedFilerClient, d nextMarker = dir + "/" + entry.Name if entry.IsDirectory { // println("ListEntries", dir, "dir:", entry.Name) - if entry.Name == ".uploads" { // FIXME no need to apply to all directories. this extra also affects maxKeys + if entry.Name == s3_constants.MultipartUploadsFolder { // FIXME no need to apply to all directories. this extra also affects maxKeys continue } if delimiter == "" { |
