shwstppr commented on code in PR #11086: URL: https://github.com/apache/cloudstack/pull/11086#discussion_r2174885852
########## api/src/main/java/org/apache/cloudstack/api/response/CapabilitiesResponse.java: ########## @@ -140,6 +140,10 @@ public class CapabilitiesResponse extends BaseResponse { @Param(description = "true if instance lease feature is enabled", since = "4.21.0") private Boolean instanceLeaseEnabled; + @SerializedName(ApiConstants.DYNAMIC_SCALING_ENABLED) + @Param(description = "true if dynamically scaling for instance is enabled", since = "4.21.0") Review Comment: ```suggestion @Param(description = "true if dynamically scaling for instances is enabled", since = "4.21.0") ``` ########## ui/src/views/compute/EditVM.vue: ########## @@ -291,18 +289,8 @@ export default { this.template = templateResponses[0] }) }, - fetchDynamicScalingVmConfig () { - const params = {} - params.name = 'enable.dynamic.scale.vm' - params.zoneid = this.resource.zoneid - var apiName = 'listConfigurations' - api(apiName, params).then(json => { - const configResponse = json.listconfigurationsresponse.configuration - this.dynamicScalingVmConfig = configResponse[0]?.value === 'true' - }) - }, canDynamicScalingEnabled () { Review Comment: ```suggestion isDynamicScalingEnabled () { ``` -- 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