cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject git commit: updated refs/heads/master to ea5c8ee
Date Wed, 01 Oct 2014 19:29:46 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master 39fe766c2 -> ea5c8eed0


CLOUDSTACK-7664: [UI] Handle change in API response for listloadbalancer

- replaced all occurrences of "listloadbalancerssresponse" with "listloadbalancersresponse"
in ui\scripts\vpc.js, following the change in the listLoadBalancers API response string.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>


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

Branch: refs/heads/master
Commit: ea5c8eed0cb28bc3ec6a371e6e2ffb99d698b12c
Parents: 39fe766
Author: Mihaela Stoica <mihaela.stoica@citrix.com>
Authored: Wed Oct 1 13:51:44 2014 +0100
Committer: Rohit Yadav <rohit.yadav@shapeblue.com>
Committed: Wed Oct 1 21:29:20 2014 +0200

----------------------------------------------------------------------
 ui/scripts/vpc.js | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ea5c8eed/ui/scripts/vpc.js
----------------------------------------------------------------------
diff --git a/ui/scripts/vpc.js b/ui/scripts/vpc.js
index 3e57631..af19d87 100644
--- a/ui/scripts/vpc.js
+++ b/ui/scripts/vpc.js
@@ -84,7 +84,7 @@
                         },
                         async: false,
                         success: function(json) {
-                            assignedInstances = json.listloadbalancerssresponse.loadbalancer[0].loadbalancerinstance;
+                            assignedInstances = json.listloadbalancersresponse.loadbalancer[0].loadbalancerinstance;
                             if (assignedInstances == null)
                                 assignedInstances = [];
                         }
@@ -773,7 +773,7 @@
                                 networkid: args.context.networks[0].id
                             },
                             success: function(json) {
-                                var items = json.listloadbalancerssresponse.loadbalancer;
+                                var items = json.listloadbalancersresponse.loadbalancer;
                                 if (items != null) {
                                     for (var i = 0; i < items.length; i++) {
                                         var item = items[i];
@@ -984,7 +984,7 @@
                                             id: args.context.internalLoadBalancers[0].id
                                         },
                                         success: function(json) {
-                                            var item = json.listloadbalancerssresponse.loadbalancer[0];
+                                            var item = json.listloadbalancersresponse.loadbalancer[0];
 
                                             //remove Rules tab and add sourceport, instanceport
at Details tab because there is only one element in loadbalancerrul array property.
                                             item.sourceport = item.loadbalancerrule[0].sourceport;
@@ -1015,7 +1015,7 @@
                       id: args.context.internalLoadBalancers[0].id
                     },
                     success: function(json) {
-                      var item = json.listloadbalancerssresponse.loadbalancer[0];
+                      var item = json.listloadbalancersresponse.loadbalancer[0];
                       args.response.success({ data: item.loadbalancerrule });
                     }
                   });
@@ -1042,7 +1042,7 @@
                                                 id: args.context.internalLoadBalancers[0].id
                                             },
                                             success: function(json) {
-                                                var item = json.listloadbalancerssresponse.loadbalancer[0];
+                                                var item = json.listloadbalancersresponse.loadbalancer[0];
                                                 args.response.success({
                                                     data: item.loadbalancerinstance
                                                 });
@@ -4248,7 +4248,7 @@
                                         networkid: tier.id
                                     },
                                     success: function(json) {
-                                        internalLoadBalancers = json.listloadbalancerssresponse;
+                                        internalLoadBalancers = json.listloadbalancersresponse;
                                     },
                                     error: function(json) {
                                         error = true;


Mime
View raw message