mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-02 05:06:14 +09:00
M #: fix OCA accounting default parameters (#1619)
This commit is contained in:
1 parent
ce2d741c15
commit
c7eba9750c
1 file changed
+4
@@ -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],
|
||||
|
||||
Reference in new issue
Block a user