mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
M #: fix OCA accounting default parameters (#1619)
This commit is contained in:
parent
ce2d741c15
commit
c7eba9750c
@ -450,6 +450,10 @@ module OpenNebula
|
||||
private
|
||||
|
||||
def build_accounting(filter_flag, options, &block)
|
||||
|
||||
options[:start_time] = -1 if options[:start_time].nil?
|
||||
options[:end_time] = -1 if options[:end_time].nil?
|
||||
|
||||
xml_str = @client.call(VM_POOL_METHODS[:accounting],
|
||||
filter_flag,
|
||||
options[:start_time],
|
||||
|
Loading…
x
Reference in New Issue
Block a user