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:
parent
6d2abe4e2b
commit
604c29d79c
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue