From 91cb3158e5858152daffe46006bdb321f6a7a5bf Mon Sep 17 00:00:00 2001 From: Dana Powers Date: Tue, 7 Mar 2017 11:14:49 -0800 Subject: Fixup comment reference to _maybe_connect --- kafka/client_async.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kafka/client_async.py') diff --git a/kafka/client_async.py b/kafka/client_async.py index 0560ec0..9e30e09 100644 --- a/kafka/client_async.py +++ b/kafka/client_async.py @@ -734,7 +734,7 @@ class KafkaClient(object): elif self._can_connect(node_id): log.debug("Initializing connection to node %s for metadata request", node_id) self._maybe_connect(node_id) - # If initiateConnect failed immediately, this node will be put into blackout and we + # If _maybe_connect failed immediately, this node will be put into blackout and we # should allow immediately retrying in case there is another candidate node. If it # is still connecting, the worst case is that we end up setting a longer timeout # on the next round and then wait for the response. -- cgit v1.2.1