mirror of
https://github.com/versity/versitygw.git
synced 2026-01-08 12:41:10 +00:00
Fixes #1654 Fixes #1644 CreateBucket `LocationConstraint` rejects empty values with an `InvalidLocationConstraint` error. The `us-east-1` `LocationConstraint` is considered invalid because it is the default value and must not be present in the `CreateBucketConfiguration` request body. This PR fixes both issues by returning `InvalidLocationConstraint` in both cases.