Fix vCenter VM poll bug

This commit is contained in:
Tino Vazquez committed 2016-05-04 19:50:20 +02:00
1 parent 4f17903404
commit fb77e34442
1 file changed
+1 -1
@@ -1667,7 +1667,7 @@ class VCenterVm
end
@used_memory = @summary.quickStats.hostMemoryUsage * 1024
cpuMhz = host.cpumhz
cpuMhz = @vm.runtime.host.cpumhz
@used_cpu =
((@summary.quickStats.overallCpuUsage.to_f / cpuMhz) * 100).to_s