From 34132b2c9f0d2d39cf597b8b0ba7b5123254702d Mon Sep 17 00:00:00 2001 From: famosss Date: Tue, 25 Oct 2022 12:15:37 +0800 Subject: [PATCH] fix: isTruncated returns problematic (#3907) --- weed/s3api/s3api_objects_list_handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }