From 66a114f7d2c33cb0398d8f726698e51f58a8d191 Mon Sep 17 00:00:00 2001 From: Andy Delcambre Date: Fri, 16 Dec 2011 19:37:14 -0800 Subject: [PATCH] Allow use of sa-east-1 in the ec2 mock as well --- lib/fog/aws/compute.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fog/aws/compute.rb b/lib/fog/aws/compute.rb index 4460d5059..ecf547a5e 100644 --- a/lib/fog/aws/compute.rb +++ b/lib/fog/aws/compute.rb @@ -171,7 +171,7 @@ module Fog @region = options[:region] || 'us-east-1' - unless ['ap-northeast-1', 'ap-southeast-1', 'eu-west-1', 'us-east-1', 'us-west-1', 'us-west-2'].include?(@region) + unless ['ap-northeast-1', 'ap-southeast-1', 'eu-west-1', 'us-east-1', 'us-west-1', 'us-west-2', 'sa-east-1'].include?(@region) raise ArgumentError, "Unknown region: #{@region.inspect}" end end