Browse Source

Update weed/s3api/bucket_paths.go

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
pull/8286/head
Chris Lu 15 hours ago
committed by GitHub
parent
commit
c1e107c09d
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      weed/s3api/bucket_paths.go

4
weed/s3api/bucket_paths.go

@ -95,9 +95,9 @@ func (s3a *S3ApiServer) readTableLocationMappingFromDirectory(bucket string) (st
conflict := false
err := s3a.WithFilerClient(false, func(client filer_pb.SeaweedFilerClient) error {
stream, err := client.ListEntries(context.Background(), &filer_pb.ListEntriesRequest{
stream, err := client.ListEntries(context.Background(), &filer_pb.ListEntriesRequest{
Directory: mappingDir,
Limit: 1024,
Limit: 4294967295, // math.MaxUint32
})
if err != nil {
return err

Loading…
Cancel
Save