mirror of
https://github.com/fog/fog-aws.git
synced 2022-11-09 13:50:52 -05:00
Add ELBv2 new attributes on describe_load_balancers parser
This commit is contained in:
parent
985d7b37b9
commit
138da3b79f
1 changed files with 3 additions and 3 deletions
|
@ -101,7 +101,8 @@ module Fog
|
|||
@listener_description['Listener'][name] = value.to_i
|
||||
end
|
||||
|
||||
when 'CanonicalHostedZoneName', 'CanonicalHostedZoneNameID', 'LoadBalancerName', 'DNSName', 'Scheme'
|
||||
when 'CanonicalHostedZoneName', 'CanonicalHostedZoneNameID', 'LoadBalancerName', 'DNSName', 'Scheme', 'Type', 'State',
|
||||
'LoadBalancerArn', 'IpAddressType', 'CanonicalHostedZoneId'
|
||||
@load_balancer[name] = value
|
||||
when 'CreatedTime'
|
||||
@load_balancer[name] = Time.parse(value)
|
||||
|
@ -119,9 +120,8 @@ module Fog
|
|||
@in_instances = false
|
||||
when 'InstanceId'
|
||||
@load_balancer['Instances'] << value
|
||||
when 'VPCId'
|
||||
when 'VPCId', 'VpcId'
|
||||
@load_balancer[name] = value
|
||||
|
||||
when 'AvailabilityZones'
|
||||
@in_availability_zones = false
|
||||
when 'SecurityGroups'
|
||||
|
|
Loading…
Reference in a new issue