lib/fog/aws/requests/storage/put_bucket.rb in fog-aws-3.24.0 vs lib/fog/aws/requests/storage/put_bucket.rb in fog-aws-3.25.0
- old
+ new
@@ -59,13 +59,9 @@
else
bucket['LocationConstraint'] = nil
end
if !self.data[:buckets][bucket_name]
self.data[:buckets][bucket_name] = bucket
- elsif self.region != 'us-east-1'
- response.status = 409
- Fog::Logger.warning "Your region '#{self.region}' does not match the default region 'us-east-1'"
- raise(Excon::Errors.status_error({:expects => 201}, response))
end
response
end
end
end