mirror of https://github.com/apache/cloudstack.git
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."
This commit is contained in:
parent
5e9dea1fc5
commit
7215677543
|
|
@ -11377,6 +11377,13 @@
|
|||
data: data,
|
||||
success: function(json) {
|
||||
var item = json.updateconfigurationresponse.configuration;
|
||||
|
||||
if (args.data.jsonObj.name == 'cpu.overprovisioning.factor' || args.data.jsonObj.name == 'mem.overprovisioning.factor') {
|
||||
cloudStack.dialog.notice({
|
||||
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.'
|
||||
});
|
||||
}
|
||||
|
||||
args.response.success({
|
||||
data: item
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue