1
0
Fork 0
mirror of https://github.com/fog/fog-aws.git synced 2022-11-09 13:50:52 -05:00

Add 'scope' parameter to the reserved instance parser

This commit is contained in:
Aaron Stone 2017-01-04 12:08:04 -08:00
parent c422aa7501
commit c24c4e8fd9

View file

@ -25,7 +25,7 @@ module Fog
def end_element(name)
case name
when 'availabilityZone', 'instanceTenancy', 'instanceType', 'offeringType', 'productDescription', 'reservedInstancesId', 'state'
when 'availabilityZone', 'instanceTenancy', 'instanceType', 'offeringType', 'productDescription', 'reservedInstancesId', 'scope', 'state'
@reserved_instance[name] = value
when 'duration', 'instanceCount'
@reserved_instance[name] = value.to_i