mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
fix cpu_usage waiting for instance creation.
This commit is contained in:
parent
54954137c2
commit
91ec098aa0
2 changed files with 4 additions and 2 deletions
|
@ -51,7 +51,7 @@ class Compute(Model):
|
|||
|
||||
@cached_property
|
||||
def cpu_usage(self):
|
||||
return round(self.proxy.get_cpu_usage().get('usage'))
|
||||
return round(self.proxy.get_cpu_usage(diff=False).get('usage'))
|
||||
|
||||
@cached_property
|
||||
def ram_size(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue