forked from mirrors/statsd_exporter
add missing eventHandler to StatsDTCPListener
Signed-off-by: Selman Kayrancioglu <selman@peak.com>
This commit is contained in:
parent
a276bacac9
commit
bb88165d52
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -202,7 +202,7 @@ func main() {
|
|||
}
|
||||
defer tconn.Close()
|
||||
|
||||
tl := &StatsDTCPListener{conn: tconn}
|
||||
tl := &StatsDTCPListener{conn: tconn, eventHandler: eventQueue}
|
||||
go tl.Listen()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue