mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
kvm: update host memory stats (#6622)
Fixes #6621 Each time getMemStat() is called, a static value is returned. This value should instead be refreshed to return the actual memory used. Co-authored-by: Ruben Bosch <ruben.bosch@cldin.eu>
This commit is contained in:
parent
76f52af8f3
commit
696b93f421
@ -536,6 +536,7 @@ public class LibvirtComputingResource extends ServerResourceBase implements Serv
|
||||
}
|
||||
|
||||
public MemStat getMemStat() {
|
||||
_memStat.refresh();
|
||||
return _memStat;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user