Commit a45ac5dc authored by Christopher R. Gabriel's avatar Christopher R. Gabriel
Browse files

whole new octofuss-client, with daemon mode.

parent 8baeade6
......@@ -7,7 +7,10 @@ def list_cluster(server_url):
tmpserver = xmlrpclib.ServerProxy(server_url,
xmlrpclib.Transport(),
"UTF-8")
servers = tmpserver.list_clusters()
s = tmpserver.list_clusters()
if isinstance(s, list):
for ns in s:
servers.append(ns)
servers.sort()
return servers
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment