Minor fix.

This commit is contained in:
Julien Fontanet 2013-09-13 11:18:55 +02:00
parent 6988a3250b
commit 537e3b6f1f

View File

@ -551,7 +551,7 @@ Api.fn.xo = {
var total_memory = 0;
_.each(hosts, function (host) {
n_cpus += host.host_CPUs.length;
total_memory += host.metrics.memory_total;
total_memory += +host.metrics.memory_total;
});
var n_vifs = 0;