diff --git a/nodejs-client/src/dsn/dsn_types.js b/nodejs-client/src/dsn/dsn_types.js index d7e1a32501..4f2ef0a6f0 100644 --- a/nodejs-client/src/dsn/dsn_types.js +++ b/nodejs-client/src/dsn/dsn_types.js @@ -257,12 +257,12 @@ rpc_address.prototype.equals = function(other){ }; // TODO(yingchun): host_port is now just a place holder and not well implemented, need improve it -// Error code enum var host_port_type = { HOST_TYPE_INVALID : 0, HOST_TYPE_IPV4 : 1, HOST_TYPE_GROUP : 2 }; + var host_port = function(args) { this.host = null; this.port = 0;