mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
Fix bug, wrong number of arguments for onevm restart
git-svn-id: http://svn.opennebula.org/one/trunk@674 3034c82b-c49b-4eb3-8279-a7acafdc01c0
This commit is contained in:
parent
8bdb933ec8
commit
9aa44a7248
@ -558,7 +558,7 @@ when "resume"
|
||||
end
|
||||
|
||||
when "restart"
|
||||
check_parameters("restart")
|
||||
check_parameters("restart", 1)
|
||||
vm_id=get_vm_id(ARGV[0])
|
||||
|
||||
vm=OpenNebula::VirtualMachine.new_with_id(vm_id, get_one_client)
|
||||
|
Loading…
x
Reference in New Issue
Block a user