mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-16 17:53:08 +09:00
This fixes #28.
onevm delete now works for all machines except those in ACTIVE state. git-svn-id: http://svn.opennebula.org/trunk@68 3034c82b-c49b-4eb3-8279-a7acafdc01c0
This commit is contained in:
1 parent
9fd188581d
commit
c7367143ac
1 file changed
+2
-1
@@ -473,7 +473,8 @@ int DispatchManager::finalize(
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (vm->get_state() == VirtualMachine::FAILED )
|
||||
if (vm->get_state() != VirtualMachine::ACTIVE &&
|
||||
vm->get_state() != VirtualMachine::DONE )
|
||||
{
|
||||
oss << "Finalizing VM " << vid;
|
||||
Nebula::log("DiM",Log::DEBUG,oss);
|
||||
|
||||
Reference in new issue
Block a user