From 050a7f9599599914dc8f2c728b3248021827bc65 Mon Sep 17 00:00:00 2001 From: wuh-fnst Date: Mon, 15 Mar 2021 11:22:36 +0800 Subject: [PATCH] s3: count correction for the number of files in the dir --- weed/s3api/s3api_objects_list_handlers.go | 1 - 1 file changed, 1 deletion(-) 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 }