Skip to content

Commit

Permalink
nodejs
Browse files Browse the repository at this point in the history
  • Loading branch information
acelyc111 committed Jul 8, 2024
1 parent dbe90dc commit f32e7dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nodejs-client/src/dsn/dsn_types.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f32e7dd

Please sign in to comment.