Socket UI: remove old API calls

This commit is contained in:
Brian Federle 2013-10-31 12:09:38 -07:00
parent 16bb286729
commit bfae24db1d
1 changed files with 3 additions and 17 deletions

View File

@ -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
}));
}
};