Skip to content

Commit

Permalink
Update esque/controller/topic_controller.py
Browse files Browse the repository at this point in the history
Co-authored-by: Swen Wenzel <5111028+swenzel@users.noreply.github.com>
  • Loading branch information
hfjn and swenzel committed Apr 15, 2021
1 parent 107251a commit 0189fb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esque/controller/topic_controller.py
Expand Up @@ -47,7 +47,7 @@ def list_topics(
topic_names = sorted(topic_names)

if get_topic_objects:
topics = [self.get_cluster_topic(topic_name, retrieve_partition_data=False) for topic_name in topic_names]
topics = [self.get_cluster_topic(topic_name, retrieve_partition_data=get_partitions) for topic_name in topic_names]
else:
topics = list(map(self.get_local_topic, topic_names))
return topics
Expand Down

0 comments on commit 0189fb6

Please sign in to comment.