summaryrefslogtreecommitdiffstats
path: root/examples/service_checker.py
diff options
context:
space:
mode:
authorAdrian Likins <alikins@redhat.com>2008-03-28 14:13:49 -0400
committerAdrian Likins <alikins@redhat.com>2008-03-28 14:13:49 -0400
commit4054792be014a9b7373a5b909f5052ab271c2307 (patch)
tree3cd0cbecad706d16d3483b2c071f101c607580e8 /examples/service_checker.py
parent8bf00319db57ecfed8477f97e673248ff3d9e44a (diff)
downloadfunc-4054792be014a9b7373a5b909f5052ab271c2307.tar.gz
func-4054792be014a9b7373a5b909f5052ab271c2307.tar.xz
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 'examples/service_checker.py')
-rw-r--r--examples/service_checker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/service_checker.py b/examples/service_checker.py
index 5541619..3dc683f 100644
--- a/examples/service_checker.py
+++ b/examples/service_checker.py
@@ -29,7 +29,7 @@ if __name__ == '__main__':
sys.exit(1)
# Get the information from the systems
- info = fc.Client("*").service.status(service)
+ info = fc.Overlord("*").service.status(service)
for (host, details) in info.iteritems():
status = "OFF"
if details == 0: