Lookup backend by name _or_id_. This is important for domain 0, for example!

Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
emellor@leeni.uk.xensource.com committed 2006-04-03 23:57:42 +01:00
1 parent 15b8695184
commit 2df295f268
1 file changed
+1 -1
@@ -90,7 +90,7 @@ class DevController:
if backdom_name is None:
backdom = xen.xend.XendDomain.PRIV_DOMAIN
else:
bd = xd.domain_lookup_by_name_nr(backdom_name)
bd = xd.domain_lookup_by_name_or_id_nr(backdom_name)
backdom = bd.getDomid()
count = 0
while True:
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.