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

Merge pull request #97 from dmbrooking/master

Adding instanceTenancy to reserved instance parser.
This commit is contained in:
Wesley Beary 2015-04-27 14:03:19 -05:00
commit d181655760

View file

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