mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Allow use of sa-east-1 in the ec2 mock as well
This commit is contained in:
parent
c09a04e7ce
commit
66a114f7d2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue