mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
When creating a new directory the location wasn't forwarded properly.
Something like the following is now working as expected (see limitation below):
Fog::Storage[:aws].directories.create(key: 'bucket', location: 'us-west-1')
It also changes the following behaviour: when no location is specified new
buckets are explicitly created in the same region as the service connection.
Known limitations:
Fog::AWS::Directory instance don't use their location to connect to S3.
If you're using an AWS::Storage with a region different than us-east-1 you
can only create buckets in the same region.
|
||
|---|---|---|
| .. | ||
| fog | ||
| tasks | ||
| fog.rb | ||