summaryrefslogtreecommitdiffstats
path: root/geo-replication/syncdaemon/monitor.py
diff options
context:
space:
mode:
Diffstat (limited to 'geo-replication/syncdaemon/monitor.py')
-rw-r--r--geo-replication/syncdaemon/monitor.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/geo-replication/syncdaemon/monitor.py b/geo-replication/syncdaemon/monitor.py
index cabb982349d..2b570a9f4fc 100644
--- a/geo-replication/syncdaemon/monitor.py
+++ b/geo-replication/syncdaemon/monitor.py
@@ -102,7 +102,7 @@ class Volinfo(object):
else:
via = ' '
raise GsyncdError('getting volume info of %s%s '
- 'failed with errorcode %s',
+ 'failed with errorcode %s' %
(vol, via, vi.find('opErrno').text))
self.tree = vi
self.volume = vol
@@ -132,8 +132,7 @@ class Volinfo(object):
ids = self.get('id')
if len(ids) != 1:
raise GsyncdError("volume info of %s obtained from %s: "
- "ambiguous uuid",
- self.volume, self.host)
+ "ambiguous uuid" % (self.volume, self.host))
return ids[0].text
def replica_count(self, tier, hot):