aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfamosss <zzq09494@ly.com>2022-10-25 12:15:37 +0800
committerGitHub <noreply@github.com>2022-10-24 21:15:37 -0700
commit34132b2c9f0d2d39cf597b8b0ba7b5123254702d (patch)
treebf78743ee8eb0fce7f097d9b75b6e610f28e5feb
parent874fd197b5a90dead832b39a39fc3a3f91c5281f (diff)
downloadseaweedfs-34132b2c9f0d2d39cf597b8b0ba7b5123254702d.tar.xz
seaweedfs-34132b2c9f0d2d39cf597b8b0ba7b5123254702d.zip
fix: isTruncated returns problematic (#3907)
-rw-r--r--weed/s3api/s3api_objects_list_handlers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/s3api/s3api_objects_list_handlers.go b/weed/s3api/s3api_objects_list_handlers.go
index 620969fd6..65a176617 100644
--- a/weed/s3api/s3api_objects_list_handlers.go
+++ b/weed/s3api/s3api_objects_list_handlers.go
@@ -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
}