1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Merge pull request #818 from benbc/s3-region-fix

Store the region for S3.
This commit is contained in:
Wesley Beary 2012-03-28 10:02:33 -07:00
commit f816282fcc

View file

@ -255,6 +255,7 @@ module Fog
@scheme = endpoint.scheme
else
options[:region] ||= 'us-east-1'
@region = options[:region]
@host = options[:host] || case options[:region]
when 'us-east-1'
's3.amazonaws.com'