diff --git a/lib/fog/aws/compute.rb b/lib/fog/aws/compute.rb index fa978d8f2..c503fb636 100644 --- a/lib/fog/aws/compute.rb +++ b/lib/fog/aws/compute.rb @@ -372,7 +372,7 @@ module Fog @region = options[:region] ||= 'us-east-1' @instrumentor = options[:instrumentor] @instrumentor_name = options[:instrumentor_name] || 'fog.aws.compute' - @version = options[:version] || '2013-08-15' + @version = options[:version] || '2013-10-01' if @endpoint = options[:endpoint] endpoint = URI.parse(@endpoint) diff --git a/lib/fog/aws/parsers/compute/describe_reserved_instances.rb b/lib/fog/aws/parsers/compute/describe_reserved_instances.rb index f0270f795..e2cc8b6d3 100644 --- a/lib/fog/aws/parsers/compute/describe_reserved_instances.rb +++ b/lib/fog/aws/parsers/compute/describe_reserved_instances.rb @@ -26,6 +26,7 @@ module Fog when 'start','end' @reserved_instance[name] = Time.parse(value) end + end end diff --git a/lib/fog/aws/requests/compute/describe_reserved_instances.rb b/lib/fog/aws/requests/compute/describe_reserved_instances.rb index c871afad7..b662029e0 100644 --- a/lib/fog/aws/requests/compute/describe_reserved_instances.rb +++ b/lib/fog/aws/requests/compute/describe_reserved_instances.rb @@ -25,6 +25,7 @@ module Fog # * 'start'<~Time> - start time for reservation # * 'state'<~String> - state of reserved instance purchase, in .[pending-payment, active, payment-failed, retired] # * 'usagePrice"<~Float> - usage price of reserved instances, per hour + # * 'end' - time reservation stopped being applied (i.e sold or canceled - as of version 2013/10/01) # # {Amazon API Reference}[http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeReservedInstances.html] def describe_reserved_instances(filters = {})