Skip to content

Commit c65a5e9

Browse files
committed
Copy response value rather than future object
1 parent 0294e45 commit c65a5e9

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
@@ -826,7 +826,7 @@ def describe_configs(self, config_resources, include_synonyms=False):
826826
self._wait_for_futures(futures)
827827

828828
# Use one of the results as the general response and add all other resources to it
829-
response = copy.copy(futures[0])
829+
response = copy.copy(futures[0].value)
830830
response.resources = []
831831

832832
for future in futures:

0 commit comments

Comments
 (0)