mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-23 05:04:56 +09:00
M #-: fix bug in onedb purge done (#3755)
Fix bug when there are no consecutive VMs, so the get_page function didn't return the pool.
This commit is contained in:
1 parent
ff56f475b9
commit
0ba47ba5a0
1 file changed
+1
-1
@@ -210,7 +210,7 @@ class OneDBLive
|
||||
ops = { :start_time => 0,
|
||||
:end_time => Time.now,
|
||||
:pages => PAGES }.merge(options)
|
||||
vmpool = OpenNebula::VirtualMachinePool.new(client)
|
||||
vmpool = OpenNebula::VirtualMachinePool.new(client, Pool::INFO_ALL)
|
||||
start_time = ops[:start_time].to_i
|
||||
end_time = ops[:end_time].to_i
|
||||
done = OpenNebula::VirtualMachine::VM_STATE.index('DONE')
|
||||
|
||||
Reference in new issue
Block a user