You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ro...@apache.org on 2021/11/23 11:12:35 UTC
[cloudstack] branch main updated: ui: show button for dynamic Scaling for VM in case of KVM hypervisor, since it is supported now (#5703)
This is an automated email from the ASF dual-hosted git repository.
rohit pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/main by this push:
new 6635421 ui: show button for dynamic Scaling for VM in case of KVM hypervisor, since it is supported now (#5703)
6635421 is described below
commit 6635421f8e59b7e5d7317da3e103cf45efdbb61c
Author: Harikrishna <ha...@gmail.com>
AuthorDate: Tue Nov 23 16:42:17 2021 +0530
ui: show button for dynamic Scaling for VM in case of KVM hypervisor, since it is supported now (#5703)
---
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')