mirror of https://github.com/apache/cloudstack.git
bug 11514: VM transition form Stopped to Error state should be considered as VM.DESTROY
status 11514: resolved fixed
This commit is contained in:
parent
599631b9e8
commit
74641d327f
|
|
@ -144,6 +144,9 @@ public interface VirtualMachine extends RunningOn, ControlledEntity, StateObject
|
|||
if (oldState == State.Stopped && newState == State.Destroyed) {
|
||||
return true;
|
||||
}
|
||||
if (oldState == State.Stopped && newState == State.Error) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue