summaryrefslogtreecommitdiffstats
path: root/roles/openshift_health_checker/openshift_checks/etcd_imagedata_size.py
diff options
context:
space:
mode:
authorLuke Meyer <lmeyer@redhat.com>2017-06-16 17:24:01 -0400
committerLuke Meyer <lmeyer@redhat.com>2017-07-25 13:23:58 -0400
commit2a0936b291992ba1b7343680aec915df0c29892c (patch)
tree22fe8d099f5a1bc11a35ff1cdf0c05f9cef12053 /roles/openshift_health_checker/openshift_checks/etcd_imagedata_size.py
parent3f3f87b7982b570ffb976865e3eace2d36960bd4 (diff)
downloadopenshift-2a0936b291992ba1b7343680aec915df0c29892c.tar.gz
openshift-2a0936b291992ba1b7343680aec915df0c29892c.tar.bz2
openshift-2a0936b291992ba1b7343680aec915df0c29892c.tar.xz
openshift-2a0936b291992ba1b7343680aec915df0c29892c.zip
openshift_checks: get rid of deprecated module_executor
Diffstat (limited to 'roles/openshift_health_checker/openshift_checks/etcd_imagedata_size.py')
-rw-r--r--roles/openshift_health_checker/openshift_checks/etcd_imagedata_size.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_health_checker/openshift_checks/etcd_imagedata_size.py b/roles/openshift_health_checker/openshift_checks/etcd_imagedata_size.py
index c04a69765..3097728aa 100644
--- a/roles/openshift_health_checker/openshift_checks/etcd_imagedata_size.py
+++ b/roles/openshift_health_checker/openshift_checks/etcd_imagedata_size.py
@@ -46,7 +46,7 @@ class EtcdImageDataSize(OpenShiftCheck):
},
}
- etcdkeysize = self.module_executor("etcdkeysize", args, task_vars)
+ etcdkeysize = self.execute_module("etcdkeysize", args, task_vars)
if etcdkeysize.get("rc", 0) != 0 or etcdkeysize.get("failed"):
msg = 'Failed to retrieve stats for etcd host "{host}": {reason}'