Actually update domain info when dom_get() succeeds.

Signed-off-by: Steven Hand <steven@xensource.com>
This commit is contained in:
shand@ubuntu.eng.hq.xensource.com committed 2005-09-15 08:15:48 -08:00
1 parent 47ff2422db
commit e999e0f1ae
1 file changed
+2 -1
+2 -1
View File
@@ -358,7 +358,8 @@ class XendDomainInfo:
else:
di = dom_get(self.domid)
if not di:
return
return
self.info = di
self.memory = self.info['mem_kb'] / 1024
self.ssidref = self.info['ssidref']
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.