Browse Source
Merge pull request #1905 from wuh-fnst/s3ListCounterErr
s3: count correction for the number of files in the dir
pull/1910/head
Chris Lu
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
1 deletions
-
weed/s3api/s3api_objects_list_handlers.go
|
@ -206,7 +206,6 @@ func (s3a *S3ApiServer) doListFilerEntries(client filer_pb.SeaweedFilerClient, d |
|
|
isTruncated = isTruncated || subIsTruncated |
|
|
isTruncated = isTruncated || subIsTruncated |
|
|
maxKeys -= subCounter |
|
|
maxKeys -= subCounter |
|
|
nextMarker = subDir + "/" + subNextMarker |
|
|
nextMarker = subDir + "/" + subNextMarker |
|
|
counter += subCounter |
|
|
|
|
|
// finished processing this sub directory
|
|
|
// finished processing this sub directory
|
|
|
marker = subDir |
|
|
marker = subDir |
|
|
} |
|
|
} |
|
|