Skip to content

Commit

Permalink
Fixed - natMapper isn't applied to Sentinel and Cluster hosts.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita Koksharov committed Sep 13, 2021
1 parent 21e0c18 commit cf927bf
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,7 @@ protected RFuture<RedisURI> resolveIP(String scheme, RedisURI address) {

InetSocketAddress s = f.getNow();
RedisURI uri = new RedisURI(scheme + "://" + s.getAddress().getHostAddress() + ":" + address.getPort());
uri = applyNatMap(uri);
result.trySuccess(uri);
});
return result;
Expand Down

0 comments on commit cf927bf

Please sign in to comment.