s3: count correction for the number of files in the dir

This commit is contained in:
wuh-fnst committed 2021-03-16 09:22:03 +08:00
1 parent 9f00f95bfb
commit 050a7f9599
1 file changed
-1
@@ -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
}