summaryrefslogtreecommitdiffstats
path: root/func/overlord/cmd_modules/check.py
diff options
context:
space:
mode:
Diffstat (limited to 'func/overlord/cmd_modules/check.py')
-rw-r--r--func/overlord/cmd_modules/check.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/func/overlord/cmd_modules/check.py b/func/overlord/cmd_modules/check.py
index 446e6de..b360df6 100644
--- a/func/overlord/cmd_modules/check.py
+++ b/func/overlord/cmd_modules/check.py
@@ -82,14 +82,15 @@ class CheckAction(client.command.Command):
# construct a client handle and see if any hosts are reachable
self.server_spec = self.parentCommand.server_spec
- client_obj = client.Client(
+ overlord_obj = client.Overlord(
self.server_spec,
port=self.port,
interactive=False,
verbose=False,
config=self.config
- )
- results = client_obj.test.add(1,2)
+ )
+
+ results = overlord_obj.test.add(1,2)
hosts = results.keys()
if len(hosts) == 0:
print "* no systems have signed certs"