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

bug : Update History record when a migration fails.

This commit is contained in:
Ruben S. Montero 2012-08-03 01:28:10 +02:00
parent 56eff343b7
commit cabf3b417e

@ -313,6 +313,8 @@ void LifeCycleManager::deploy_failure_action(int vid)
vm->set_reason(History::ERROR);
vmpool->update_history(vm);
vm->set_previous_etime(the_time);
vm->set_previous_vm_info();