提交 64d4ee50 编写于 作者: N Nikita Koksharov

Merge branch 'master' of github.com:redisson/redisson

......@@ -501,7 +501,7 @@ public class SentinelConnectionManager extends MasterSlaveConnectionManager {
if (host.contains(":")){
String pureHost = host.replaceAll("[\\[\\]]", "");
host = applyNatMap(pureHost);
if (host.contains(":")) {
if (host.contains(":") && !host.startsWith("[")) {
host = "[" + host + "]";
}
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册