bitkeeper revision 1.1159.1.41 (411b513abSOkSWbJ0fLA8-ej90H_yA)

Fixes in configuring a migrated domain.
This commit is contained in:
mjw@wray-m-3.hpl.hp.com committed 2004-08-12 11:15:06 +00:00
1 parent 0a0bb99cf4
commit dfc4d9ab9e
4 files changed
+177 -39

No files matched your search

+5 -3
View File
@@ -366,9 +366,11 @@ class XendDomain:
@param config: configuration
@return: deferred
"""
dominfo = self.domain_get(id)
if not dominfo:
raise XendError("Invalid domain: " + str(id))
print 'domain_configure>', id, config
dominfo = self.domain_lookup(id)
print 'domain_configure>', 'dominfo=', dominfo
for dinfo in self.domain_by_id.values():
print 'domain', dinfo.id, dinfo.name
log.debug('domain_configure> id=%s config=%s', id, str(config))
if dominfo.config:
raise XendError("Domain already configured: " + dominfo.name)
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.