You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by ma...@redhat.com on 2011/01/25 21:57:20 UTC

[PATCH] Minor fix for s3 service endpoints

From: marios <ma...@redhat.com>

---
 server/lib/deltacloud/drivers/ec2/ec2_driver.rb |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/server/lib/deltacloud/drivers/ec2/ec2_driver.rb b/server/lib/deltacloud/drivers/ec2/ec2_driver.rb
index 7a4b394..6f75aab 100644
--- a/server/lib/deltacloud/drivers/ec2/ec2_driver.rb
+++ b/server/lib/deltacloud/drivers/ec2/ec2_driver.rb
@@ -505,10 +505,9 @@ module Deltacloud
           },
           
           's3' => {
-            'ap-southeast-1' => 's3.amazonaws.com',
-            'eu-west-1' => 's3.amazonaws.com',
-            'us-east-1' => 's3.amazonaws.com',
-            'us-west-1' => 's3.amazonaws.com'
+            'us-west-1' => 's3-us-west-1.amazonaws.com',
+            'ap-southeast-1' => 's3-ap-southeast-1.amazonaws.com',
+            'eu-west-1' => 's3-eu-west-1.amazonaws.com '
           }
         }
 
-- 
1.7.3.4


Re: [PATCH] Minor fix for s3 service endpoints

Posted by David Lutterkort <lu...@redhat.com>.
On Tue, 2011-01-25 at 22:57 +0200, marios@redhat.com wrote:
> From: marios <ma...@redhat.com>

ACK. Committed with a couple minor changes: (1) us-east-1 was dropped as
an endpoint from the hash and (2) eu-west-1 had a space at the end.