Fixed host and port wrong way around

This commit is contained in:
Ruakij 2021-12-09 17:12:11 +01:00
parent 6b93a02943
commit 024305db43

View File

@ -53,11 +53,7 @@ class InfluxDbLineProtocolWriter extends net.Socket{
connect(){ connect(){
logger.debug("Connecting.."); logger.debug("Connecting..");
super.connect(this._host, this._port); super.connect(this._port, this._host);
}
write(buffer, errorCb){
return super.write(buffer, errorCb);
} }
} }