port forwarding issues with the listNics API response parameter
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/4fdd0261 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/4fdd0261 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/4fdd0261 Branch: refs/heads/ui-vpc-redesign Commit: 4fdd0261fe82b3a3fa7c8360ebb49429f0c36d7c Parents: fce59b8 Author: Pranav Saxena <[email protected]> Authored: Thu May 23 14:56:32 2013 +0530 Committer: Pranav Saxena <[email protected]> Committed: Thu May 23 14:56:32 2013 +0530 ---------------------------------------------------------------------- ui/scripts/network.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/4fdd0261/ui/scripts/network.js ---------------------------------------------------------------------- diff --git a/ui/scripts/network.js b/ui/scripts/network.js index 6b310ce..3eef136 100755 --- a/ui/scripts/network.js +++ b/ui/scripts/network.js @@ -50,7 +50,7 @@ nicId: nic.id }, success: function(json) { - var nic = json.listnics.nic[0]; + var nic = json.listnicsresponse.nic[0]; var ips = nic.secondaryip ? nic.secondaryip : []; var ipSelection = [];
