summaryrefslogtreecommitdiffstats
path: root/geo-replication/syncdaemon
diff options
context:
space:
mode:
Diffstat (limited to 'geo-replication/syncdaemon')
-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 a7978993035..cabb982349d 100644
--- a/geo-replication/syncdaemon/monitor.py
+++ b/geo-replication/syncdaemon/monitor.py
@@ -146,7 +146,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: