1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib
Jonas Pfenniger f36a3065a9 AWS | storage: fixes ignored location with new buckets
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.
2013-04-16 23:28:04 +01:00
..
fog AWS | storage: fixes ignored location with new buckets 2013-04-16 23:28:04 +01:00
tasks Merge pull request #1730 from rackspace/json_lib 2013-04-08 08:13:46 -07:00
fog.rb Merge pull request #1726 from cainlevy/fix_require_from_source 2013-04-02 14:39:47 -07:00