Fixes TypeError in _leave_group_handler
In the _leave_group_handler function, when catching NoNodeError exception, Missing brackets in string formating of MemberNotJoined exception's message cause "TypeError: not enough arguments for format string" Change-Id: I908a783a6ce912d5bfe6be33288d3b1a3ea93ab3
This commit is contained in:
parent
069c3d308d
commit
24876c3e04
@ -85,7 +85,7 @@ class BaseZooKeeperDriver(coordination.CoordinationDriver):
|
||||
raise coordination.MemberNotJoined("member '%s' has not joined "
|
||||
"the group '%s' or the group "
|
||||
"has not been created" %
|
||||
member_id, group_id)
|
||||
(member_id, group_id))
|
||||
except exceptions.ZookeeperError as e:
|
||||
raise coordination.ToozError(str(e))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user