This is an automated email from the ASF dual-hosted git repository.

harikrishna pushed a commit to branch KVMDynamicScalingUI
in repository https://gitbox.apache.org/repos/asf/cloudstack.git

commit 6eb7bb0fe33282bf3cc7c2589bd221353c6eef96
Author: Harikrishna Patnala <[email protected]>
AuthorDate: Mon Nov 22 13:43:03 2021 +0530

    UI: show button for dynamic Scaling for VM in case of KVM hypervisor, since 
it is supported now
---
 ui/src/config/section/compute.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui/src/config/section/compute.js b/ui/src/config/section/compute.js
index 835923d..f1f2340 100644
--- a/ui/src/config/section/compute.js
+++ b/ui/src/config/section/compute.js
@@ -301,7 +301,7 @@ export default {
           label: 'label.scale.vm',
           docHelp: 
'adminguide/virtual_machines.html#how-to-dynamically-scale-cpu-and-ram',
           dataView: true,
-          show: (record) => { return ['Stopped'].includes(record.state) || 
(['Running'].includes(record.state) && record.hypervisor !== 'KVM' && 
record.hypervisor !== 'LXC') },
+          show: (record) => { return ['Stopped'].includes(record.state) || 
(['Running'].includes(record.state) && record.hypervisor !== 'LXC') },
           disabled: (record) => { return record.state === 'Running' && 
!record.isdynamicallyscalable },
           popup: true,
           component: () => import('@/views/compute/ScaleVM.vue')

Reply via email to