diff options
author | Kanagaraj M <kmayilsa@redhat.com> | 2014-05-07 12:10:09 +0530 |
---|---|---|
committer | Sahina Bose <sabose@redhat.com> | 2014-05-07 02:09:24 -0700 |
commit | a4f97c15206c4930e6336c7a1fba67a231615486 (patch) | |
tree | d7f397aaa82d69b7f7835e2706fea5d2ca018592 /plugins | |
parent | 10c9f0bca8afa33810cc30873efeb1f82d3bea4e (diff) |
glusterpmd: fix brick service name
changed from "Brick Status - <dir>" to "Brick - <dir>"
Change-Id: If71b54e7b5fad50d849fb90d20caec6a59353a6f
Signed-off-by: Kanagaraj M <kmayilsa@redhat.com>
Reviewed-on: http://review.gluster.org/7690
Reviewed-by: Sahina Bose <sabose@redhat.com>
Diffstat (limited to 'plugins')
-rwxr-xr-x | plugins/check_proc_status.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_proc_status.py b/plugins/check_proc_status.py index a899d0f..83bde1f 100755 --- a/plugins/check_proc_status.py +++ b/plugins/check_proc_status.py @@ -48,7 +48,7 @@ _checkCtdbCmd = [_checkProc.cmd, "-c", "1:", "-C", "ctdbd"] _nfsService = "NFS" _shdService = "Self-Heal" _smbService = "CIFS" -_brickService = "Brick - " +_brickService = "Brick - %s" _glusterdService = "Gluster Management" _quotadService = "Quota" _ctdbdService = "CTDB" @@ -67,7 +67,7 @@ def getBrickStatus(volInfo): if brick.get('hostUuid') != hostUuid: continue brickPath = brick['name'].split(':')[1] - brickService = "Brick Status - %s" % brickPath + brickService = _brickService % brickPath pidFile = brick['name'].replace( ":/", "-").replace("/", "-") + ".pid" try: |