mirror of
https://github.com/fog/fog-aws.git
synced 2022-11-09 13:50:52 -05:00
Fix get hosted zone parser to correctly convert ResourceRecordSetCount into integer
This commit is contained in:
parent
467254535d
commit
3ff6cf3382
1 changed files with 3 additions and 3 deletions
|
@ -17,14 +17,14 @@ module Fog
|
|||
case name
|
||||
when 'Id'
|
||||
@hosted_zone[name]= value.sub('/hostedzone/', '')
|
||||
when 'Name', 'CallerReference', 'Comment', 'PrivateZone', 'Config', 'ResourceRecordSetCount'
|
||||
when 'Name', 'CallerReference', 'Comment', 'PrivateZone', 'Config'
|
||||
@hosted_zone[name]= value
|
||||
when 'ResourceRecordSetCount'
|
||||
@hosted_zone['ResourceRecordSetCount'] = value.to_i
|
||||
when 'HostedZone'
|
||||
@response['HostedZone'] = @hosted_zone
|
||||
@hosted_zone = {}
|
||||
@section = :name_servers
|
||||
when 'ResourceRecordSetCount'
|
||||
@response['ResourceRecordSetCount'] = value.to_i
|
||||
end
|
||||
elsif @section == :name_servers
|
||||
case name
|
||||
|
|
Loading…
Reference in a new issue