summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--geo-replication/syncdaemon/monitor.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/geo-replication/syncdaemon/monitor.py b/geo-replication/syncdaemon/monitor.py
index 63c8e3365ca..2b570a9f4fc 100644
--- a/geo-replication/syncdaemon/monitor.py
+++ b/geo-replication/syncdaemon/monitor.py
@@ -145,7 +145,10 @@ class Volinfo(object):
def disperse_count(self, tier, hot):
if (tier and hot):
- return int(self.get('hotBricks/hotdisperseCount')[0].text)
+ # Tiering doesn't support disperse volume as hot brick,
+ # hence no xml output, so returning 0. In case, if it's
+ # supported later, we should change here.
+ return 0
elif (tier and not hot):
return int(self.get('coldBricks/colddisperseCount')[0].text)
else: