From 1ca0e78ca10ccd0fa705160b7138f0ba2370158f Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Wed, 5 Apr 2017 13:43:39 +0100 Subject: [PATCH] Fix typo --- synapse/replication/tcp/protocol.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/synapse/replication/tcp/protocol.py b/synapse/replication/tcp/protocol.py index 4f44836c2f..95ea256e77 100644 --- a/synapse/replication/tcp/protocol.py +++ b/synapse/replication/tcp/protocol.py @@ -336,10 +336,10 @@ class BaseReplicationStreamProtocol(LineOnlyReceiver): for cmd in COMMAND_MAP: outbound_commands_counter.unregister_counter( - cmd.NAME, self.name, self.conn_id + cmd, self.name, self.conn_id ) inbound_commands_counter.unregister_counter( - cmd.NAME, self.name, self.conn_id + cmd, self.name, self.conn_id ) if self.transport: