forked from mirrors/statsd_exporter
Merge pull request #287 from prometheus/mr/fix-udp-logger
Pass logger to UDP listener
This commit is contained in:
commit
d7f22028aa
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