diff options
author | darshan n <dnarayan@redhat.com> | 2015-02-05 16:36:13 +0530 |
---|---|---|
committer | Sahina Bose <sabose@redhat.com> | 2015-08-16 22:59:07 -0700 |
commit | 12507aeef9be103e4393451233da7ba8a8ebb2ee (patch) | |
tree | bc5f26277204e48be321177d2774835599460e03 /glusternagios/glustercli.py | |
parent | 481d99ef5f541b4e1eb30d4f630c890609a1c05e (diff) |
PEP8: Fixed pep8 issues in glusternagios/glustercli.py
Change-Id: I52b568bc450fcdf546466db29c49ad6a8a2eda67
Signed-off-by: darshan n <dnarayan@redhat.com>
Reviewed-on: http://review.gluster.org/9592
Reviewed-by: Sahina Bose <sabose@redhat.com>
Diffstat (limited to 'glusternagios/glustercli.py')
-rwxr-xr-x | glusternagios/glustercli.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/glusternagios/glustercli.py b/glusternagios/glustercli.py index 809dced..abbd3b8 100755 --- a/glusternagios/glustercli.py +++ b/glusternagios/glustercli.py @@ -566,10 +566,10 @@ def _parseVolumeGeoRepStatus(volumeName, out): slaves[slave]['detail'] += "NOTE:Multiple slave session aggregated" if count_dict['faulty'] > 0: if replicaCount > 1: - # georep cli status does not give the node name in the same way as - # gluster volume info - there's no way to compare and get the - # subvolume. So if fault+passive > than num of primary bricks, - # moving to faulty + # georep cli status does not give the node name in the same + # way as gluster volume info - there's no way to compare and + # get the subvolume. So if fault+passive > than num of primary + # bricks, moving to faulty if (count_dict['faulty'] + count_dict['passive'] > count_dict['nodecount']/replicaCount): slaves[slave]['status'] = GeoRepStatus.FAULTY |