Skip to content

Commit

Permalink
Fix topicPublisher thread may NPE when no topic exists
Browse files Browse the repository at this point in the history
  • Loading branch information
wangbo committed Dec 29, 2023
1 parent 1a2ec2f commit 60481a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ protected void runAfterCatalogReady() {
topicPublisher.getTopicInfo(request);
}

if (request.getTopicMap().size() == 0) {
if (request.getTopicMapSize() == 0) {
return;
}

Expand Down

0 comments on commit 60481a3

Please sign in to comment.