Browse Source

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

many existing tools have max key set to 1000
pull/1759/head
Chris Lu 4 years ago
parent
commit
ccbdb38c89
  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
}
}
if counter >= maxKeys + 1 {
if counter >= maxKeys {
isTruncated = true
return
}

Loading…
Cancel
Save