mirror of
https://github.com/fog/fog-aws.git
synced 2022-11-09 13:50:52 -05:00
Merge pull request #267 from chanakyacool/master
Updated Region 'Mumbai' ap-south-1
This commit is contained in:
commit
bd61ddb2f2
2 changed files with 4 additions and 1 deletions
|
@ -224,7 +224,7 @@ module Fog
|
|||
end
|
||||
|
||||
def self.regions
|
||||
@regions ||= ['ap-northeast-1', 'ap-northeast-2', 'ap-southeast-1', 'ap-southeast-2', 'eu-central-1', 'eu-west-1', 'us-east-1', 'us-west-1', 'us-west-2', 'sa-east-1', 'cn-north-1', 'us-gov-west-1']
|
||||
@regions ||= ['ap-northeast-1', 'ap-northeast-2', 'ap-southeast-1', 'ap-southeast-2', 'eu-central-1', 'eu-west-1', 'us-east-1', 'us-west-1', 'us-west-2', 'sa-east-1', 'cn-north-1', 'us-gov-west-1', 'ap-south-1']
|
||||
end
|
||||
|
||||
def self.validate_region!(region, host=nil)
|
||||
|
|
|
@ -77,6 +77,9 @@ module Fog
|
|||
|
||||
{"messageSet" => [], "regionName" => "ap-southeast-2", "zoneName" => "ap-southeast-2a", "zoneState" => "available"},
|
||||
{"messageSet" => [], "regionName" => "ap-southeast-2", "zoneName" => "ap-southeast-2b", "zoneState" => "available"},
|
||||
|
||||
{"messageSet" => [], "regionName" => "ap-south-1", "zoneName" => "ap-south-1a", "zoneState" => "available"},
|
||||
{"messageSet" => [], "regionName" => "ap-south-1", "zoneName" => "ap-south-1b", "zoneState" => "available"},
|
||||
]
|
||||
|
||||
availability_zone_info = all_zones.select { |zoneinfo| zoneinfo["regionName"] == @region }
|
||||
|
|
Loading…
Reference in a new issue