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 Reviewed-by: Nitin
This commit is contained in:
parent
3425161580
commit
1970956d3e
|
|
@ -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