Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: regression when listing buckets use the configured or default region #1282

Merged
merged 1 commit into from
Apr 26, 2024

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
@harshavardhana harshavardhana merged commit d3ff771 into minio:master Apr 26, 2024
14 checks passed
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.

None yet

2 participants