Skip to content

Commit a709cc5

Browse files
committed
Fix lookup future is_done check
1 parent e039108 commit a709cc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kafka/coordinator/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -919,7 +919,7 @@ def _run_once(self):
919919
self.coordinator._client.poll(timeout_ms=0)
920920

921921
if self.coordinator.coordinator_unknown():
922-
if not self.coordinator.lookup_coordinator().is_done():
922+
if not self.coordinator.lookup_coordinator().is_done:
923923
self.coordinator._lock.wait(self.coordinator.config['retry_backoff_ms'] / 1000)
924924

925925
elif self.coordinator.heartbeat.session_timeout_expired():

0 commit comments

Comments
 (0)