fix: isTruncated returns problematic (#3907)

This commit is contained in:
famosss 2022-10-25 12:15:37 +08:00 committed by GitHub
parent 874fd197b5
commit 34132b2c9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -297,7 +297,7 @@ func (s3a *S3ApiServer) doListFilerEntries(client filer_pb.SeaweedFilerClient, d
// finished processing this sub directory
marker = subDir
}
if cursor.maxKeys <= 0 {
if cursor.isTruncated {
return
}