diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2021-03-15 20:54:58 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-15 20:54:58 -0700 |
| commit | 10164d0386460c1c39ed8b5ee5c434704a2b28fd (patch) | |
| tree | 850244f75a086d1a7a69338e2b3b8874e3390548 | |
| parent | 22a07a12d2cc89abc66f100ffb4356439eaa1614 (diff) | |
| parent | 050a7f9599599914dc8f2c728b3248021827bc65 (diff) | |
| download | seaweedfs-10164d0386460c1c39ed8b5ee5c434704a2b28fd.tar.xz seaweedfs-10164d0386460c1c39ed8b5ee5c434704a2b28fd.zip | |
Merge pull request #1905 from wuh-fnst/s3ListCounterErr
s3: count correction for the number of files in the dir
| -rw-r--r-- | weed/s3api/s3api_objects_list_handlers.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/weed/s3api/s3api_objects_list_handlers.go b/weed/s3api/s3api_objects_list_handlers.go index 2d36c6ec9..739cdd8f9 100644 --- a/weed/s3api/s3api_objects_list_handlers.go +++ b/weed/s3api/s3api_objects_list_handlers.go @@ -206,7 +206,6 @@ func (s3a *S3ApiServer) doListFilerEntries(client filer_pb.SeaweedFilerClient, d isTruncated = isTruncated || subIsTruncated maxKeys -= subCounter nextMarker = subDir + "/" + subNextMarker - counter += subCounter // finished processing this sub directory marker = subDir } |
