Fixed host and port wrong way around

f_influxdb-line-protocol
Ruakij 3 years ago
parent 6b93a02943
commit 024305db43

@ -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);
} }
} }

Loading…
Cancel
Save