mirror of
https://github.com/prometheus/statsd_exporter.git
synced 2024-10-31 20:58:50 +00:00
Merge pull request #58 from nordicdyno/master
ListenAndServe now fails on exit
This commit is contained in:
commit
b1f3e6d7be
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -52,7 +52,7 @@ func serveHTTP() {
|
|||
</body>
|
||||
</html>`))
|
||||
})
|
||||
http.ListenAndServe(*listenAddress, nil)
|
||||
log.Fatal(http.ListenAndServe(*listenAddress, nil))
|
||||
}
|
||||
|
||||
func udpAddrFromString(addr string) *net.UDPAddr {
|
||||
|
|
Loading…
Reference in a new issue