diff options
author | Timothy Asir Jeyasingh <tjeyasin@redhat.com> | 2014-06-24 14:36:50 +0530 |
---|---|---|
committer | Sahina Bose <sabose@redhat.com> | 2014-06-26 01:55:11 -0700 |
commit | dcb15dc1e6bda61611f7fd32c1e064fb85951d42 (patch) | |
tree | f81737b65578856c91f53251f35d4750e388a2db /plugins/check_gluster_syslog.py | |
parent | 6af042189cb95932b7f4aafc37a9227f47626433 (diff) |
Fix pep8 errorsv0.1.1
Change-Id: I0d41725a02636228bc613b40c1b4d2d57a35e3e3
Signed-off-by: Timothy Asir Jeyasingh <tjeyasin@redhat.com>
Reviewed-on: http://review.gluster.org/8159
Tested-by: Timothy Asir <tim.gluster@gmail.com>
Reviewed-by: Shubhendu Tripathi <shtripat@redhat.com>
Diffstat (limited to 'plugins/check_gluster_syslog.py')
-rwxr-xr-x | plugins/check_gluster_syslog.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_gluster_syslog.py b/plugins/check_gluster_syslog.py index d83e302..2f6d201 100755 --- a/plugins/check_gluster_syslog.py +++ b/plugins/check_gluster_syslog.py @@ -55,13 +55,13 @@ def processQuotaMsg(msg, alertlevel): def processQuorumMsg(msgid, msg, level): logger = logging.getLogger("processQuorumMsg") pluginstatus = None - #if msgid == 106002: + # if msgid == 106002: if "[MSGID: 106002]" in msg or "[MSGID: 106001]" in msg: # [MSGID: 106002] Server quorum lost for volume dist. # Stopping local bricks. # [MSGID: 106001] Server quorum not met. Rejecting operation. pluginstatus = utils.PluginStatusCode.CRITICAL - #elif msgid == 106003: + # elif msgid == 106003: elif "[MSGID: 106003]" in msg: # [MSGID: 106003] Server quorum regained for volume dist. # Starting local bricks. |