2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-26 03:19:48 +00:00

Fix mistake in the expression change

This commit is contained in:
Jarrod Johnson 2019-10-14 15:02:45 -04:00
parent fc626d36ba
commit a84b88e269

View File

@ -403,7 +403,7 @@ def handle_connection(connection, cert, request, local=False):
connection.close()
return
if (currentleader == connection.getpeername()[0] and
follower and not follower.dead:
follower and not follower.dead):
# if we are happily following this leader already, don't stir
# the pot
tlvdata.send(connection, {'status': 0})