mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
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…
x
Reference in New Issue
Block a user