mirror of
https://github.com/pgsty/minio.git
synced 2026-08-10 08:13:28 +03:00
* I needed to remove the region check from PutBucketHandler
This commit is contained in:
committed by
Harshavardhana
parent
07949f68d8
commit
0a8cf1a6b0
@@ -206,10 +206,8 @@ func (l *gcsGateway) MakeBucket(bucket string) error {
|
||||
func (l *gcsGateway) MakeBucketWithLocation(bucket, location string) error {
|
||||
bkt := l.client.Bucket(bucket)
|
||||
|
||||
// TODO: location
|
||||
_ = location
|
||||
if err := bkt.Create(l.ctx, l.projectID, &storage.BucketAttrs{
|
||||
Location: "US",
|
||||
Location: location,
|
||||
}); err != nil {
|
||||
return gcsToObjectError(traceError(err), bucket)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user