Fixed host and port wrong way around
This commit is contained in:
parent
6b93a02943
commit
024305db43
@ -53,11 +53,7 @@ class InfluxDbLineProtocolWriter extends net.Socket{
|
||||
|
||||
connect(){
|
||||
logger.debug("Connecting..");
|
||||
super.connect(this._host, this._port);
|
||||
}
|
||||
|
||||
write(buffer, errorCb){
|
||||
return super.write(buffer, errorCb);
|
||||
super.connect(this._port, this._host);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user