diff --git a/lib/fog/aws/storage.rb b/lib/fog/aws/storage.rb index 576fed37f..5d511d1f7 100644 --- a/lib/fog/aws/storage.rb +++ b/lib/fog/aws/storage.rb @@ -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'