add missing eventHandler to StatsDTCPListener

Signed-off-by: Selman Kayrancioglu <selman@peak.com>
This commit is contained in:
Selman Kayrancioglu 2019-06-14 15:29:24 +03:00
parent a276bacac9
commit bb88165d52

View file

@ -202,7 +202,7 @@ func main() {
} }
defer tconn.Close() defer tconn.Close()
tl := &StatsDTCPListener{conn: tconn} tl := &StatsDTCPListener{conn: tconn, eventHandler: eventQueue}
go tl.Listen() go tl.Listen()
} }