mirror of https://github.com/apache/cloudstack.git
CID-1254841 removed unused var
This commit is contained in:
parent
3dc12f7b48
commit
bb1ab33bb4
|
|
@ -2574,7 +2574,6 @@ Configurable, StateListener<State, VirtualMachine.Event, VirtualMachine> {
|
|||
|
||||
@Override
|
||||
public boolean postStateTransitionEvent(final StateMachine2.Transition<State, VirtualMachine.Event> transition, final VirtualMachine vo, final boolean status, final Object opaque) {
|
||||
final State oldState = transition.getCurrentState();
|
||||
final State newState = transition.getToState();
|
||||
final VirtualMachine.Event event = transition.getEvent();
|
||||
if (event == VirtualMachine.Event.FollowAgentPowerOnReport && newState == State.Running) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue