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:
commit
f816282fcc
1 changed files with 1 additions and 0 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue