cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject [01/43] git commit: updated refs/heads/master to 5ce2890
Date Thu, 25 Apr 2013 18:08:19 GMT
Updated Branches:
  refs/heads/master b5979ba9b -> 5ce289034


VM multiple NICs: Fix broken UI due to API call changes


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

Branch: refs/heads/master
Commit: 876e93b441f5042fb872fd7e01c1e793988e0915
Parents: 685a8a7
Author: Brian Federle <brian.federle@citrix.com>
Authored: Tue Apr 9 14:15:29 2013 -0700
Committer: Brian Federle <brian.federle@citrix.com>
Committed: Tue Apr 9 14:15:29 2013 -0700

----------------------------------------------------------------------
 ui/scripts/network.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/876e93b4/ui/scripts/network.js
----------------------------------------------------------------------
diff --git a/ui/scripts/network.js b/ui/scripts/network.js
index cc1aad3..6f6a073 100755
--- a/ui/scripts/network.js
+++ b/ui/scripts/network.js
@@ -1186,7 +1186,7 @@
                 virtualmachineid: args.context.instances[0].id
               },
               success: function(json) {
-                var ips = json.listnics.nic ? json.listnics.nic[0].secondaryip : [];
+                var ips = json.listnicsresponse.nic ? json.listnicsresponse.nic[0].secondaryip
: [];
 
                 args.response.success({
                   data: $(ips).map(function(index, ip) {
@@ -1252,7 +1252,7 @@
                       virtualmachineid: args.context.instances[0].id
                     },
                     success: function(json) {
-                      var ips = json.listnics.nic[0].secondaryip
+                      var ips = json.listnicsresponse.nic[0].secondaryip
 
                       args.response.success({
                         data: $.grep($(ips).map(function(index, ip) {


Mime
View raw message