Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanBratanov committed Jul 1, 2024
1 parent 07d8a25 commit 85eaee0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public Optional<DiscoveryPeer> convertToDiscoveryPeer(
final NodeRecord nodeRecord, final SchemaDefinitions schemaDefinitions) {
return nodeRecord
.getTcpAddress()
.or(nodeRecord::getTcp6Address)
.map(address -> socketAddressToDiscoveryPeer(schemaDefinitions, nodeRecord, address));
}

Expand Down

0 comments on commit 85eaee0

Please sign in to comment.