Skip to content

Commit 7215677

Browse files
author
Jessica Wang
committed
CLOUDSTACK-5037: UI > Infrastructure > clusters > Settings tab > when "cpu.overprovisioning.factor" or "mem.overprovisioning.factor" is changed, pop up a warning message "Please note - you are changing the over provisioning factor for a cluster with vms running. Please refer to the admin guide to understand the capacity calculation."
1 parent 5e9dea1 commit 7215677

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎ui/scripts/system.js‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11377,6 +11377,13 @@
1137711377
data: data,
1137811378
success: function(json) {
1137911379
var item = json.updateconfigurationresponse.configuration;
11380+
11381+
if (args.data.jsonObj.name == 'cpu.overprovisioning.factor' || args.data.jsonObj.name == 'mem.overprovisioning.factor') {
11382+
cloudStack.dialog.notice({
11383+
message: 'Please note - you are changing the over provisioning factor for a cluster with vms running. Please refer to the admin guide to understand the capacity calculation.'
11384+
});
11385+
}
11386+
1138011387
args.response.success({
1138111388
data: item
1138211389
});

0 commit comments

Comments
 (0)