From 091fb99205cdaae4216281d1c2af35f3828b13ac Mon Sep 17 00:00:00 2001 From: Ben Butler-Cole Date: Wed, 28 Mar 2012 16:05:24 +0100 Subject: [PATCH] Store the region for S3. --- lib/fog/aws/storage.rb | 1 + 1 file changed, 1 insertion(+) 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'