Fix XendNode when no host state is saved.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
Ewan Mellor committed 2007-01-30 16:55:51 +00:00
1 parent 37704ecd82
commit f2c7f02e99
1 file changed
+1
+1
View File
@@ -74,6 +74,7 @@ class XendNode:
self.desc = ''
self.other_config = {}
self.cpus = {}
self.host_metrics_uuid = uuid.createString()
# load CPU UUIDs
saved_cpus = self.state_store.load_state('cpu')
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.