cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jessicaw...@apache.org
Subject git commit: updated refs/heads/master to 5c74fb3
Date Fri, 20 Sep 2013 00:13:20 GMT
Updated Branches:
  refs/heads/master 0c64bdadc -> 5c74fb3ed


CLOUDSTACK-4714: EIP/ELB Basic Zone > EIP/ELB Basic Zone > Network page > Add Load
Balancer tab > add AutoScale rule > spinning wheel is hanging forever with JS error
"args.context.ipAddresses is undefined".


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/5c74fb3e
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/5c74fb3e
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/5c74fb3e

Branch: refs/heads/master
Commit: 5c74fb3ed55adb9c9b1c039f565ef7caa3d19d8f
Parents: 0c64bda
Author: Jessica Wang <jessicawang@apache.org>
Authored: Thu Sep 19 17:10:43 2013 -0700
Committer: Jessica Wang <jessicawang@apache.org>
Committed: Thu Sep 19 17:12:58 2013 -0700

----------------------------------------------------------------------
 ui/scripts/autoscaler.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/5c74fb3e/ui/scripts/autoscaler.js
----------------------------------------------------------------------
diff --git a/ui/scripts/autoscaler.js b/ui/scripts/autoscaler.js
index 6fabf68..ab1b459 100644
--- a/ui/scripts/autoscaler.js
+++ b/ui/scripts/autoscaler.js
@@ -1116,7 +1116,7 @@
                     var apiCmd, apiCmdRes;
                     if (!('multiRules' in args.context)) { //from a new LB
                         var data = {
-                            zoneid: args.context.ipAddresses[0].zoneid, //args.context.networks[0]
doesn't have zoneid property, so use args.context.ipAddresses[0] instead
+                            zoneid: args.context.networks[0].zoneid, //get zoneid from args.context.networks[0]
instead of args.context.ipAddresses[0] because args.context.ipAddresses is null when adding
AutoScale rule from Add Load Balancer tab in Network page
                             serviceofferingid: args.data.serviceOfferingId,
                             templateid: args.data.templateNames,
                             destroyvmgraceperiod: args.data.destroyVMgracePeriod,


Mime
View raw message