mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-3255: UI > VPC section - IP Address - Load Balancing - autoscale - fix a bug that failed to get zoneid for createAutoScaleVmProfile API.
This commit is contained in:
parent
78922589bb
commit
dfb2e1d4f5
|
|
@ -1069,7 +1069,7 @@
|
|||
var apiCmd, apiCmdRes;
|
||||
if(!('multiRules' in args.context)) { //from a new LB
|
||||
var data = {
|
||||
zoneid: args.context.networks[0].zoneid,
|
||||
zoneid: args.context.ipAddresses[0].zoneid, //args.context.networks[0] doesn't have zoneid property, so use args.context.ipAddresses[0] instead
|
||||
serviceofferingid: args.data.serviceOfferingId,
|
||||
templateid: args.data.templateNames,
|
||||
destroyvmgraceperiod: args.data.destroyVMgracePeriod,
|
||||
|
|
|
|||
Loading…
Reference in New Issue