summaryrefslogtreecommitdiffstats
path: root/examples/drive_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/drive_checker.py
parent8bf00319db57ecfed8477f97e673248ff3d9e44a (diff)
downloadthird_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 'examples/drive_checker.py')
-rw-r--r--examples/drive_checker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/drive_checker.py b/examples/drive_checker.py
index f563c76..e51e378 100644
--- a/examples/drive_checker.py
+++ b/examples/drive_checker.py
@@ -7,7 +7,7 @@
import func.overlord.client as fc
import func.utils as utils
-info = fc.Client("*").smart.info()
+info = fc.Overlord("*").smart.info()
failures = 0
for (host,details) in info.iteritems():