提交 c18b5861 编写于 作者: H Heikki Linnakangas 提交者: Xin Zhang

Fix format string.

I removed the filespaces arg earlier, but failed to update the format
string accordingly.
上级 ac078153
......@@ -339,7 +339,7 @@ class GpAddMirrorsProgram:
mirror = toBuild.getFailoverSegment()
primary = toBuild.getLiveSegment()
line = 'mirror%d=%d:%s:%d:%s%s' % \
line = 'mirror%d=%d:%s:%d:%s' % \
(i, \
mirror.getSegmentContentId(), \
canonicalize_address(mirror.getSegmentAddress()), \
......@@ -450,7 +450,7 @@ class GpAddMirrorsProgram:
def checkMirrorOffset(self, gpArray):
"""
return an array of the ports to use to begin mirror port, replication port, and mirror replication port
return an array of the ports to use to begin mirror port
"""
maxAllowedPort = 61000
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册