Skip to content

Conversation

@prakashsvmx
Copy link
Member

@prakashsvmx prakashsvmx commented Apr 26, 2024

when listing buckets use the configured or default region

We fetch the region automatically only for buckets. so for listBuckets, either a region is required or use the default.

The latest version/master listBuckets does nor return any result . setting a default region would work as part of the client config.

var mc = new Minio.Client({
    endPoint: 'localhost',
    accessKey: 'minio',
    secretKey: 'minio123',
    useSSL: false,
    //partSize: 1024 * 1024 * 5,
    port: 22000,
    region:"us-east-1"
  })

@prakashsvmx prakashsvmx self-assigned this Apr 26, 2024
@prakashsvmx prakashsvmx requested a review from kaankabalak April 26, 2024 10:50
@harshavardhana harshavardhana merged commit d3ff771 into minio:master Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants