mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-27 10:50:10 +03:00
Fix vCenter VM poll bug
This commit is contained in:
parent
4f17903404
commit
fb77e34442
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user