diff options
author | Adrian Likins <alikins@redhat.com> | 2008-03-28 14:13:49 -0400 |
---|---|---|
committer | Adrian Likins <alikins@redhat.com> | 2008-03-28 14:13:49 -0400 |
commit | 4054792be014a9b7373a5b909f5052ab271c2307 (patch) | |
tree | 3cd0cbecad706d16d3483b2c071f101c607580e8 /func/overlord/cmd_modules/check.py | |
parent | 8bf00319db57ecfed8477f97e673248ff3d9e44a (diff) | |
download | third_party-func-4054792be014a9b7373a5b909f5052ab271c2307.tar.gz third_party-func-4054792be014a9b7373a5b909f5052ab271c2307.tar.xz third_party-func-4054792be014a9b7373a5b909f5052ab271c2307.zip |
Changing func/func/overlord/client.py:Client() to Overlord(). Client() still
works but will dive a deprecation warning.
First pass at this refactor. I think just about everything has been updated, but
some questions remain. Like if client.py needs a name change.
Diffstat (limited to 'func/overlord/cmd_modules/check.py')
-rw-r--r-- | func/overlord/cmd_modules/check.py | 7 |
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" |