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

Bug reporting error with onevm show

git-svn-id: http://svn.opennebula.org/one/trunk@500 3034c82b-c49b-4eb3-8279-a7acafdc01c0
This commit is contained in:
Javier Fontán Muiños 2009-05-05 13:22:43 +00:00
parent 169018c458
commit 55c4f1c827

View File

@ -531,7 +531,7 @@ when "delete"
when "show"
check_parameters("get_info", 1)
vm_id=get_vm_id(vm, ARGV[0])
res = vm.get_info(vm_id)
result = res = vm.get_info(vm_id)
if res[0]
res[1].gsub!(/^\n/, '')
(normal, template)=res[1].split("Template")