summaryrefslogtreecommitdiffstats
path: root/glusternagios
diff options
context:
space:
mode:
Diffstat (limited to 'glusternagios')
-rwxr-xr-xglusternagios/glustercli.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/glusternagios/glustercli.py b/glusternagios/glustercli.py
index d752173..18caa79 100755
--- a/glusternagios/glustercli.py
+++ b/glusternagios/glustercli.py
@@ -538,9 +538,9 @@ def _parseVolumeGeoRepStatus(volumeName, out):
brick,
tempstatus))
volumes = volumeInfo(volumeName)
- brickCount = volumes[volumeName]["brickCount"]
+ brickCount = int(volumes[volumeName]["brickCount"])
if "REPLICATE" in volumes[volumeName]["volumeType"]:
- replicaCount = volumes[volumeName]["replicaCount"]
+ replicaCount = int(volumes[volumeName]["replicaCount"])
else:
replicaCount = brickCount