direct-io.hg

changeset 12736:fb1291ffa26f

Fix HTTP server.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author Ewan Mellor <ewan@xensource.com>
date Wed Dec 06 10:10:06 2006 +0000 (2006-12-06)
parents 39509c8f5c09
children 97acbb7e2146
files tools/python/xen/xend/server/SrvServer.py
line diff
     1.1 --- a/tools/python/xen/xend/server/SrvServer.py	Tue Dec 05 15:47:43 2006 +0000
     1.2 +++ b/tools/python/xen/xend/server/SrvServer.py	Wed Dec 06 10:10:06 2006 +0000
     1.3 @@ -165,7 +165,7 @@ class XendServers:
     1.4              else:
     1.5                  break
     1.6  
     1.7 -def _loadConfig(servers):
     1.8 +def _loadConfig(servers, root):
     1.9      if xroot.get_xend_http_server():
    1.10          servers.add(HttpServer(root,
    1.11                                 xroot.get_xend_address(),
    1.12 @@ -219,5 +219,5 @@ def create():
    1.13      root = SrvDir()
    1.14      root.putChild('xend', SrvRoot())
    1.15      servers = XendServers()
    1.16 -    _loadConfig(servers)
    1.17 +    _loadConfig(servers, root)
    1.18      return servers