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

add end date for aws instance reservations

This commit is contained in:
aabes 2013-10-18 17:51:38 -04:00
parent 6d2abe4e2b
commit 604c29d79c
2 changed files with 2 additions and 1 deletions

View file

@ -23,7 +23,7 @@ module Fog
@reserved_instance = {}
when 'requestId'
@response[name] = value
when 'start'
when 'start','end'
@reserved_instance[name] = Time.parse(value)
end
end

View file

@ -116,6 +116,7 @@ Shindo.tests('Fog::Compute[:aws] | instance requests', ['aws']) do
'instanceType' => String,
'availabilityZone' => String,
'start' => Time,
'end' => Time,
'duration' => Integer,
'fixedPrice' => Float,
'usagePrice' => Float,