aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwuh-fnst <wuh.fnst@fujitsu.com>2021-03-15 11:22:36 +0800
committerwuh-fnst <wuh.fnst@fujitsu.com>2021-03-16 09:22:03 +0800
commit050a7f9599599914dc8f2c728b3248021827bc65 (patch)
tree212153b8469db2b5097660fe0a363eb405d07992
parent9f00f95bfb8dcf118ade083c66122725f25fdd45 (diff)
downloadseaweedfs-050a7f9599599914dc8f2c728b3248021827bc65.tar.xz
seaweedfs-050a7f9599599914dc8f2c728b3248021827bc65.zip
s3: count correction for the number of files in the dir
-rw-r--r--weed/s3api/s3api_objects_list_handlers.go1
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
}