Skip to content

Commit cfa2424

Browse files
committed
Copy response value rather than future object
1 parent 9e09f0f commit cfa2424

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kafka/admin/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ def describe_configs(self, config_resources, include_synonyms=False):
547547
self._wait_for_futures(futures)
548548

549549
# Use one of the results as the general response and add all other resources to it
550-
response = copy.copy(futures[0])
550+
response = copy.copy(futures[0].value)
551551
response.resources = []
552552

553553
for future in futures:

0 commit comments

Comments
 (0)