Browse Source

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

pull/1905/head
wuh-fnst 4 years ago
parent
commit
050a7f9599
  1. 1
      weed/s3api/s3api_objects_list_handlers.go

1
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
}

Loading…
Cancel
Save