Browse Source

s3: listing may repeat on the edge

pull/1759/head
Chris Lu 4 years ago
parent
commit
389426bbb7
  1. 2
      weed/s3api/s3api_objects_list_handlers.go

2
weed/s3api/s3api_objects_list_handlers.go

@ -238,7 +238,7 @@ func (s3a *S3ApiServer) doListFilerEntries(client filer_pb.SeaweedFilerClient, d
return return
} }
} }
if counter >= maxKeys {
if counter >= maxKeys + 1 {
isTruncated = true isTruncated = true
return return
} }

Loading…
Cancel
Save