1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-02-22 17:57:46 +03:00

fixes running_etime when cancelling a job

This commit is contained in:
Ruben S. Montero 2010-09-01 20:58:09 +02:00
parent 2e7da1721c
commit 76ad1887f1

View File

@ -612,6 +612,7 @@ void LifeCycleManager::cancel_success_action(int vid)
return;
}
vm->set_running_etime(the_time);
vm->set_etime(the_time);
vm->set_reason(History::CANCEL);