mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-19 11:22:55 +09:00
Bug #1316: Clean files when a stopped VM is deleted
(cherry picked from commit dbefe6f9ed)
This commit is contained in:
1 parent
95e64ec3af
commit
c8a3255ce7
1 file changed
+1
-1
@@ -711,13 +711,13 @@ int DispatchManager::finalize(
|
||||
switch (state)
|
||||
{
|
||||
case VirtualMachine::SUSPENDED:
|
||||
case VirtualMachine::STOPPED:
|
||||
case VirtualMachine::FAILED:
|
||||
tm->trigger(TransferManager::EPILOG_DELETE,vid);
|
||||
|
||||
case VirtualMachine::INIT:
|
||||
case VirtualMachine::PENDING:
|
||||
case VirtualMachine::HOLD:
|
||||
case VirtualMachine::STOPPED:
|
||||
vm->release_network_leases();
|
||||
vm->release_disk_images();
|
||||
|
||||
|
||||
Reference in new issue
Block a user