Updated Branches: refs/heads/master 16bb28672 -> bfae24db1
Socket UI: remove old API calls Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/bfae24db Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/bfae24db Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/bfae24db Branch: refs/heads/master Commit: bfae24db1def9db5f4eeda6e44a3fee1883f586a Parents: 16bb286 Author: Brian Federle <[email protected]> Authored: Thu Oct 31 12:09:38 2013 -0700 Committer: Brian Federle <[email protected]> Committed: Thu Oct 31 12:10:04 2013 -0700 ---------------------------------------------------------------------- ui/scripts/system.js | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/bfae24db/ui/scripts/system.js ---------------------------------------------------------------------- diff --git a/ui/scripts/system.js b/ui/scripts/system.js index 2a522f4..c07f5f7 100644 --- a/ui/scripts/system.js +++ b/ui/scripts/system.js @@ -381,23 +381,9 @@ }, socketInfo: function(data) { - $.ajax({ - url: createURL('listHypervisors'), - success: function(json) { - var hypervisors = json.listhypervisorsresponse.hypervisor; - - complete($.extend(data, { - socketCount: 0, - socketInfo: $(hypervisors).map(function(index, hypervisor) { - return { - name: hypervisor.name, - hosts: 0, - sockets: 0 - }; - }) - })); - } - }); + complete($.extend(data, { + socketCount: 0 + })); } };
