From bfae24db1def9db5f4eeda6e44a3fee1883f586a Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Thu, 31 Oct 2013 12:09:38 -0700 Subject: [PATCH] Socket UI: remove old API calls --- ui/scripts/system.js | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/ui/scripts/system.js b/ui/scripts/system.js index 2a522f45db9..c07f5f756cd 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 + })); } };