mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
Fix call to server, using new XendClient syntax.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
1 parent
a03c61b2f7
commit
913843e16b
1 file changed
+1
-1
@@ -41,7 +41,7 @@ def diagnose(dom):
|
||||
global dompath
|
||||
|
||||
try:
|
||||
domain = server.xend_domain(dom)
|
||||
domain = server.xend.domain(dom)
|
||||
state = sxp.child_value(domain, 'state')
|
||||
domid = int(sxp.child_value(domain, 'domid'))
|
||||
name = sxp.child_value(domain, 'name')
|
||||
|
||||