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
|
@listener_description['Listener'][name] = value.to_i
|
||||||
end
|
end
|
||||||
|
|
||||||
when 'CanonicalHostedZoneName', 'CanonicalHostedZoneNameID', 'LoadBalancerName', 'DNSName', 'Scheme'
|
when 'CanonicalHostedZoneName', 'CanonicalHostedZoneNameID', 'LoadBalancerName', 'DNSName', 'Scheme', 'Type', 'State',
|
||||||
|
'LoadBalancerArn', 'IpAddressType', 'CanonicalHostedZoneId'
|
||||||
@load_balancer[name] = value
|
@load_balancer[name] = value
|
||||||
when 'CreatedTime'
|
when 'CreatedTime'
|
||||||
@load_balancer[name] = Time.parse(value)
|
@load_balancer[name] = Time.parse(value)
|
||||||
|
@ -119,9 +120,8 @@ module Fog
|
||||||
@in_instances = false
|
@in_instances = false
|
||||||
when 'InstanceId'
|
when 'InstanceId'
|
||||||
@load_balancer['Instances'] << value
|
@load_balancer['Instances'] << value
|
||||||
when 'VPCId'
|
when 'VPCId', 'VpcId'
|
||||||
@load_balancer[name] = value
|
@load_balancer[name] = value
|
||||||
|
|
||||||
when 'AvailabilityZones'
|
when 'AvailabilityZones'
|
||||||
@in_availability_zones = false
|
@in_availability_zones = false
|
||||||
when 'SecurityGroups'
|
when 'SecurityGroups'
|
||||||
|
|
Loading…
Reference in a new issue