1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

bug in onevm show when the vm had only one history record

This commit is contained in:
Javi Fontan 2011-07-11 11:53:56 +02:00
parent 4fb4e1f30b
commit 61afbd3771

View File

@ -208,7 +208,7 @@ class OneVMHelper < OpenNebulaHelper::OneHelper
vm_hash=vm.to_hash
history=vm_hash['VM']['HISTORY_RECORDS']['HISTORY']
history=[vm_hash['VM']['HISTORY_RECORDS']['HISTORY']].flatten
table.show(history)
end