1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-06-25 03:48:10 +02:00

s3: fix for listing objects if more than 1000 in the folder

many existing tools have max key set to 1000
This commit is contained in:
Chris Lu 2021-01-24 00:27:52 -08:00
parent 80b8692688
commit ccbdb38c89

View file

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