DaanHoogland commented on a change in pull request #5010:
URL: https://github.com/apache/cloudstack/pull/5010#discussion_r629416299



##########
File path: api/src/main/java/com/cloud/host/Status.java
##########
@@ -131,6 +131,7 @@ public Status getNextStatus(Event e) throws 
NoTransitionException {
         s_fsm.addTransition(Status.Up, Event.PingTimeout, Status.Alert);
         s_fsm.addTransition(Status.Up, Event.AgentDisconnected, Status.Alert);
         s_fsm.addTransition(Status.Up, Event.ShutdownRequested, 
Status.Disconnected);
+        s_fsm.addTransition(Status.Disconnected, Event.ShutdownRequested, 
Status.Disconnected);

Review comment:
       do we need a transition from disconnected to disconnected?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to