s3: listing may repeat on the edge

This commit is contained in:
Chris Lu 2021-01-17 22:59:15 -08:00
parent 0fddf68417
commit 389426bbb7

View file

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