Support for publish_address as hostname/ip:port (#804)

This commit is contained in:
Tomas Della Vedova
2019-04-08 17:13:44 +02:00
committed by GitHub
parent 5794ad54e4
commit 5af9ec1040
6 changed files with 159 additions and 37 deletions

View File

@ -127,7 +127,7 @@ export default class ConnectionPool {
* @param {object} nodes
* @returns {array} hosts
*/
nodesToHost(nodes: any): any[];
nodesToHost(nodes: any, protocol: string): any[];
/**
* Transforms an url string to a host object
*