summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xplugins/check_vol_server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_vol_server.py b/plugins/check_vol_server.py
index 34adf92..f780ba8 100755
--- a/plugins/check_vol_server.py
+++ b/plugins/check_vol_server.py
@@ -76,7 +76,7 @@ def _getVolumeStatusOutput(args):
criticalBricks += 1
if criticalBricks > 0:
- if volume['brickCount'] == criticalBricks:
+ if int(volume['brickCount']) == criticalBricks:
status = utils.PluginStatusCode.CRITICAL
output = "All the bricks are in CRITICAL state"
else: