Skip to content

Commit

Permalink
Improve tags managment
Browse files Browse the repository at this point in the history
  • Loading branch information
adriencalime committed Dec 4, 2023
1 parent 46bb2f1 commit df7c180
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -358,12 +358,11 @@ public List<String> validateTags(Namespace namespace, Topic topic) {
.filter(tagName -> tagNames != null && !tagNames.contains(tagName))
.toList();

if(topicCluster.isPresent() &&
Boolean.parseBoolean(
if (topicCluster.isPresent()
&& Boolean.parseBoolean(
topicCluster.get().getConfig().getProperty(
DYNAMIC_TAGS_CREATION,
"true"))) {

List<TagInfo> tagsToCreate = unavailableTagNames
.stream()
.map(TagInfo::new)
Expand Down

0 comments on commit df7c180

Please sign in to comment.