🐛 Adding object reference to externalTcpIp: Solves locating cluster via gossip seeds
This commit is contained in:
parent
195a6d40ce
commit
11f882501f
|
@ -227,7 +227,7 @@ ClusterDnsEndPointDiscoverer.prototype._tryDetermineBestNode = function (members
|
||||||
|
|
||||||
var normTcp = {host: node.externalTcpIp, port: node.externalTcpPort};
|
var normTcp = {host: node.externalTcpIp, port: node.externalTcpPort};
|
||||||
var secTcp = node.externalSecureTcpPort > 0
|
var secTcp = node.externalSecureTcpPort > 0
|
||||||
? {host: externalTcpIp, port: node.externalSecureTcpPort}
|
? {host: node.externalTcpIp, port: node.externalSecureTcpPort}
|
||||||
: null;
|
: null;
|
||||||
this._log.info(util.format("Discovering: found best choice [%j,%j] (%s).", normTcp, secTcp === null ? "n/a" : secTcp, node.state));
|
this._log.info(util.format("Discovering: found best choice [%j,%j] (%s).", normTcp, secTcp === null ? "n/a" : secTcp, node.state));
|
||||||
return new NodeEndPoints(normTcp, secTcp);
|
return new NodeEndPoints(normTcp, secTcp);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user