mirror of https://github.com/apache/cloudstack.git
cloudstack 3.0 UI - autoscale - edit mode - API calls end after updating VM profile.
This commit is contained in:
parent
7e1c434f20
commit
9d23cd672e
|
|
@ -1027,7 +1027,12 @@
|
|||
clearInterval(autoscaleVmProfileTimer);
|
||||
if (result.jobstatus == 1) {
|
||||
scaleVmProfileResponse = result.jobresult.autoscalevmprofile;
|
||||
loadBalancer(args);
|
||||
if(!('multiRules' in args.context)) { //from a new LB
|
||||
loadBalancer(args);
|
||||
}
|
||||
else { //from an existing LB
|
||||
args.response.success(); //modification completes here
|
||||
}
|
||||
}
|
||||
else if (result.jobstatus == 2) {
|
||||
args.response.error(_s(result.jobresult.errortext));
|
||||
|
|
|
|||
Loading…
Reference in New Issue