[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Fix HTTP server.



# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Node ID fb1291ffa26f0fec9d3b0d1b55a210b5ce2455ee
# Parent  39509c8f5c09f85ed994f0a0ac95ecda98ed585b
Fix HTTP server.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
---
 tools/python/xen/xend/server/SrvServer.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r 39509c8f5c09 -r fb1291ffa26f tools/python/xen/xend/server/SrvServer.py
--- a/tools/python/xen/xend/server/SrvServer.py Tue Dec 05 15:47:43 2006 +0000
+++ b/tools/python/xen/xend/server/SrvServer.py Wed Dec 06 10:10:06 2006 +0000
@@ -165,7 +165,7 @@ class XendServers:
             else:
                 break
 
-def _loadConfig(servers):
+def _loadConfig(servers, root):
     if xroot.get_xend_http_server():
         servers.add(HttpServer(root,
                                xroot.get_xend_address(),
@@ -219,5 +219,5 @@ def create():
     root = SrvDir()
     root.putChild('xend', SrvRoot())
     servers = XendServers()
-    _loadConfig(servers)
+    _loadConfig(servers, root)
     return servers

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.