Skip to content

Commit

Permalink
Fixup set update
Browse files Browse the repository at this point in the history
  • Loading branch information
afausti committed Oct 5, 2021
1 parent e644624 commit e41f701
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kafkaaggregator/aggregator_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def source_topics(self) -> Set:
"""Return all source topics in the aggregator config."""
source_topics: Set = set()
for topic in self._config.aggregated_topics:
source_topics.add(topic.source_topics)
source_topics.update(topic.source_topics)
return source_topics

def get(self, aggregated_topic: str) -> AggregatedTopic:
Expand Down

0 comments on commit e41f701

Please sign in to comment.