Skip to content

Commit

Permalink
Fix a bug that returns nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
loustler committed Sep 27, 2024
1 parent 156b087 commit 5394810
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@ public Joiner createJoiner(Node node) {
join.verify();

if (node.shouldUseMulticastJoiner(join) && node.multicastService != null) {
super.createJoiner(node);
return super.createJoiner(node);
} else if (join.getTcpIpConfig().isEnabled()) {
log.info("Using LiteNodeDropOutTcpIpJoiner TCP/IP discovery");
return new LiteNodeDropOutTcpIpJoiner(node);
} else if (node.getProperties().getBoolean(DISCOVERY_SPI_ENABLED)
|| isAnyAliasedConfigEnabled(join)
|| join.isAutoDetectionEnabled()) {
super.createJoiner(node);
return super.createJoiner(node);
}
return null;
}
Expand Down

0 comments on commit 5394810

Please sign in to comment.