Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanBratanov committed Jun 26, 2024
1 parent 8ed77d0 commit 82f8788
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 82f8788

Please sign in to comment.