Fixed wrong push
This commit is contained in:
		
							parent
							
								
									2a662e0bd1
								
							
						
					
					
						commit
						3af4bb7cc6
					
				@ -47,7 +47,7 @@ class PacketInfluxPointFactory extends Transform{
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
            point.setField('value', packet[objKey]);        // Set field
 | 
					            point.setField('value', packet[objKey]);        // Set field
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            this.push(null, point);     // Push point into stream
 | 
					            this.push(point);     // Push point into stream
 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
        next();     // Get next packet
 | 
					        next();     // Get next packet
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user