mirror of
https://github.com/versity/versitygw.git
synced 2026-01-06 11:46:20 +00:00
We were using the metadata retrieval to check for existing buckets during create, and then return either BucketAlreadyExists or ErrBucketAlreadyOwnedByYou accordingly. Howver, the metadata retrieval was returning success with a default ACL when the bucket metadata did not already exist causing the gateway to always think this bucket existed. Fix here is to let the metadata retrieval know that we do not want the default ACL for this case.