Pearl1594 commented on code in PR #11598:
URL: https://github.com/apache/cloudstack/pull/11598#discussion_r2331135810


##########
plugins/integrations/kubernetes-service/src/main/java/com/cloud/kubernetes/cluster/KubernetesCluster.java:
##########
@@ -89,8 +90,11 @@ enum State {
             s_fsm.addTransition(State.Running, Event.AutoscaleRequested, 
State.Scaling);
             s_fsm.addTransition(State.Running, Event.ScaleUpRequested, 
State.Scaling);
             s_fsm.addTransition(State.Running, Event.ScaleDownRequested, 
State.Scaling);
+            s_fsm.addTransition(State.Stopped, Event.ScaleUpRequested, 
State.ScalingOfferingOfStoppedCluster);

Review Comment:
   can we not just use Scaling state as opposed to 
ScalingOfferingOfStoppedCluster? i.e.,
   ```suggestion
               s_fsm.addTransition(State.Stopped, Event.ScaleUpRequested, 
State.Scaling);
   ```



-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to