mirror of
https://github.com/prometheus/statsd_exporter.git
synced 2024-11-25 16:51:00 +00:00
Pass logger to UDP listener
We were already passing it to the TCP and Unixgram listener, but somehow left it out of the UDP listener setup. Fixes #285. Signed-off-by: Matthias Rampke <mr@soundcloud.com>
This commit is contained in:
parent
20006621cc
commit
fa2159f8e8
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -198,7 +198,7 @@ func main() {
|
|||
}
|
||||
}
|
||||
|
||||
ul := &StatsDUDPListener{conn: uconn, eventHandler: eventQueue}
|
||||
ul := &StatsDUDPListener{conn: uconn, eventHandler: eventQueue, logger: logger}
|
||||
go ul.Listen()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue