cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject [1/2] git commit: updated refs/heads/master to 4fd3fca
Date Tue, 09 Apr 2013 21:26:20 GMT
Updated Branches:
  refs/heads/master 685a8a72c -> 4fd3fca84


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/d9d6d21b
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/d9d6d21b
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/d9d6d21b

Branch: refs/heads/master
Commit: d9d6d21b5c04c5c9d210453ffc9f51c8aea1080a
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:16:21 2013 -0700

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/d9d6d21b/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