Update allocations.go (#2819)

This commit is contained in:
Preston Van Loon
2019-06-19 18:34:57 -04:00
committed by terence tsao
parent 2c8bddc324
commit 9460232550

View File

@@ -32,6 +32,8 @@ func (s *server) serveAllocationsHTTPPage() {
})
srv := &http.Server{Addr: ":8080", Handler: mux}
go log.Fatal(srv.ListenAndServe())
go func() {
log.Fatal(srv.ListenAndServe())
}()
log.Info("Serving allocations page at :8080/allocations")
}