From b175e81923c4647e31e8d6e288ee527ebc3cfc32 Mon Sep 17 00:00:00 2001 From: lijunjie Date: Tue, 22 Jan 2019 13:58:39 +0800 Subject: [PATCH] Fix the misspelling of "available" Change-Id: I8be838cc3f5b80243db4804d81ee14957b993bdf --- .../collectd-openstack/files/collectd_iostat_python.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ansible/install/roles/collectd-openstack/files/collectd_iostat_python.py b/ansible/install/roles/collectd-openstack/files/collectd_iostat_python.py index 28c8c32dc..fff8f49f7 100644 --- a/ansible/install/roles/collectd-openstack/files/collectd_iostat_python.py +++ b/ansible/install/roles/collectd-openstack/files/collectd_iostat_python.py @@ -77,7 +77,7 @@ class IOStat(object): """ Parse iostat -d and -dx output.If there are more than one series of statistics, get the last one. - By default parse statistics for all avaliable block devices. + By default parse statistics for all available block devices. @type input: C{string} @param input: iostat output @@ -152,7 +152,7 @@ class IOStat(object): @staticmethod def _get_childs_data(child): """ - Return child's data when avaliable. + Return child's data when available. """ (stdout, stderr) = child.communicate() ecode = child.poll() @@ -164,7 +164,7 @@ class IOStat(object): def get_diskstats(self): """ - Get all avaliable disks statistics that we can get. + Get all available disks statistics that we can get. iostat -kNd tps kB_read/s kB_wrtn/s kB_read kB_wrtn iostat -kNdx