bitkeeper revision 1.1159.13.1 (4118a004V4kwgoMR9dGS7kTWxK4rmg)

Fix restart problem caused by old info in domain object.
This commit is contained in:
mjw@wray-m-3.hpl.hp.com committed 2004-08-10 10:14:28 +00:00
1 parent 0e7114e1d4
commit c9e3a237d7
1 file changed
+5 -1
+5 -1
View File
@@ -643,7 +643,11 @@ class XendDomainInfo:
"""
self.release_vifs()
self.release_vbds()
self.devices = {}
self.device_index = {}
self.configs = []
self.ipaddrs = []
def release_vifs(self):
"""Release vm virtual network devices (vifs).
@@ -851,7 +855,7 @@ class XendDomainInfo:
def restart_check(self):
"""Check if domain restart is OK.
To prevent restart loops, raise an error it is
To prevent restart loops, raise an error if it is
less than MINIMUM_RESTART_TIME seconds since the last restart.
"""
tnow = time.time()
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.