Merge pull request #287 from prometheus/mr/fix-udp-logger

Pass logger to UDP listener
This commit is contained in:
Matthias Rampke 2020-01-13 10:05:07 +00:00 committed by GitHub
commit d7f22028aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -198,7 +198,7 @@ func main() {
}
}
ul := &StatsDUDPListener{conn: uconn, eventHandler: eventQueue}
ul := &StatsDUDPListener{conn: uconn, eventHandler: eventQueue, logger: logger}
go ul.Listen()
}