summaryrefslogtreecommitdiffstats
path: root/func/overlord/client.py
diff options
context:
space:
mode:
authorSteve Salevan <ssalevan@marillion.rdu.redhat.com>2008-07-09 16:45:26 -0400
committerSteve Salevan <ssalevan@marillion.rdu.redhat.com>2008-07-09 16:45:26 -0400
commitaa36ec3991bf3e1f4e0ff7cf821b2ceba67335cd (patch)
treec95a9342572f838dd5559676cd1c4d389b5734f0 /func/overlord/client.py
parentc3888ff3a60df7363390e810f96a7bbced042a50 (diff)
downloadfunc-aa36ec3991bf3e1f4e0ff7cf821b2ceba67335cd.tar.gz
func-aa36ec3991bf3e1f4e0ff7cf821b2ceba67335cd.tar.xz
func-aa36ec3991bf3e1f4e0ff7cf821b2ceba67335cd.zip
Committing fixes to delegation/overlord client code
Diffstat (limited to 'func/overlord/client.py')
-rwxr-xr-xfunc/overlord/client.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/func/overlord/client.py b/func/overlord/client.py
index 760b896..572d274 100755
--- a/func/overlord/client.py
+++ b/func/overlord/client.py
@@ -343,6 +343,8 @@ class Overlord(object):
# this is the point at which we make the remote call.
if use_delegate:
retval = getattr(conn, meth)(module, method, args, delegation_path)
+ print retval
+ print spec
else:
retval = getattr(conn, meth)(*args[:])
@@ -395,7 +397,10 @@ class Overlord(object):
minions = expanded_minions.get_urls()[0]
# print minions
results = process_server(0, 0, minions)
-
+
+ if use_delegate:
+ return results[spec]
+
return results
# -----------------------------------------------