harikrishna-patnala commented on code in PR #8107:
URL: https://github.com/apache/cloudstack/pull/8107#discussion_r1420209019


##########
plugins/integrations/kubernetes-service/src/main/java/com/cloud/kubernetes/cluster/actionworkers/KubernetesClusterResourceModifierActionWorker.java:
##########
@@ -788,6 +788,9 @@ public KubernetesClusterVO 
doInTransaction(TransactionStatus status) {
                 if (autoscaleEnabled != null) {
                     
updatedCluster.setAutoscalingEnabled(autoscaleEnabled.booleanValue());
                 }
+                if (state != null) {

Review Comment:
   yes, this is not required, kind of duplicate update code since we have 
fixing that in update query. Reverted this change.



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

Reply via email to