Skip to content

Commit

Permalink
refs #6436, RightAws::Ec2 fix describe_reserved_instances method to r…
Browse files Browse the repository at this point in the history
…eturn purchase time
  • Loading branch information
Konstantin committed Apr 15, 2010
1 parent b721b05 commit fa8a0a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/ec2/right_ec2_reserved_instances.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ class Ec2
# :aws_state=>"payment-pending",
# :aws_product_description=>"Test",
# :aws_fixed_price=>325.0,
# :aws_start=>"2009-12-18T20:39:39.569Z"
# :aws_instance_count=>1}]
#
def describe_reserved_instances(*reserved_instances)
Expand Down Expand Up @@ -123,6 +124,7 @@ def tagend(name)
when 'instanceCount' then @item[:aws_instance_count] = @text.to_i
when 'productDescription' then @item[:aws_product_description] = @text
when 'state' then @item[:aws_state] = @text
when 'start' then @item[:aws_start] = @text
when 'item' then @result << @item
end
end
Expand Down

0 comments on commit fa8a0a9

Please sign in to comment.