Pearl1594 commented on code in PR #12386:
URL: https://github.com/apache/cloudstack/pull/12386#discussion_r2913053200
##########
api/src/main/java/com/cloud/kubernetes/cluster/KubernetesCluster.java:
##########
@@ -98,7 +98,7 @@ enum State {
s_fsm.addTransition(State.Running, Event.ScaleDownRequested,
State.Scaling);
s_fsm.addTransition(State.Stopped, Event.ScaleUpRequested,
State.ScalingStoppedCluster);
s_fsm.addTransition(State.Scaling, Event.OperationSucceeded,
State.Running);
- s_fsm.addTransition(State.Scaling, Event.OperationFailed,
State.Alert);
+ s_fsm.addTransition(State.Scaling, Event.OperationFailed,
State.Running);
Review Comment:
Out of curiosity, with this state change, is the cluster reverted to
original state i.e., number of worker nodes scaled down to the original cound?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]