summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/drive_checker.py2
-rw-r--r--examples/find_recalled_parts.py2
-rw-r--r--examples/service_checker.py2
3 files changed, 3 insertions, 3 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():
diff --git a/examples/find_recalled_parts.py b/examples/find_recalled_parts.py
index 45eb48e..36c4a7c 100644
--- a/examples/find_recalled_parts.py
+++ b/examples/find_recalled_parts.py
@@ -8,7 +8,7 @@ import func.utils as utils
bad = open("./part_data.txt").read().split()
-info = fc.Client("*").hardware.hal_info()
+info = fc.Overlord("*").hardware.hal_info()
for (host,details) in info.iteritems():
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: