Skip to content

Commit 6f8de58

Browse files
committed
mask unused afi var
1 parent 09462d0 commit 6f8de58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kafka/client_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ def _should_recycle_connection(self, conn):
408408
if broker is None:
409409
return False
410410

411-
host, _, afi = get_ip_port_afi(broker.host)
411+
host, _, _ = get_ip_port_afi(broker.host)
412412
if conn.host != host or conn.port != broker.port:
413413
log.info("Broker metadata change detected for node %s"
414414
" from %s:%s to %s:%s", conn.node_id, conn.host, conn.port,

0 commit comments

Comments
 (0)