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(){ |     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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user