Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
server/server.go: fix newHTTPServer() to accept a nil http.ServeMux
When creating the profiling server, the handler is set to nil. This fix prevents the function newHTTPServer() to call apihttp.LogHandler(nil), which is unsupported and produces a crash. @jllucas, this removes a blocker for testing the integration with prometheus \o/
- Loading branch information