Fixed - Sentinel hostname isn't used for ssl connection during Redisson startup #2879

pull/2882/head
Nikita Koksharov 5 years ago
parent 6d90559000
commit 80507cecfa

@ -159,8 +159,7 @@ public class SentinelConnectionManager extends MasterSlaveConnectionManager {
connectionFutures.add(future);
}
RedisURI currentAddr = toURI(client.getAddr().getAddress().getHostAddress(), "" + client.getAddr().getPort());
RFuture<Void> f = registerSentinel(currentAddr, this.config, null);
RFuture<Void> f = registerSentinel(addr, this.config, null);
connectionFutures.add(f);
for (RFuture<Void> future : connectionFutures) {

Loading…
Cancel
Save