Merge pull request #82 from matrix-org/daniel/reportport

speculator: Report listening port
This commit is contained in:
Kegsay 2015-10-02 11:13:43 +01:00
commit f38473efd9

View file

@ -362,6 +362,8 @@ func main() {
http.HandleFunc("/diff/html/", s.serveHTMLDiff)
http.HandleFunc("/healthz", serveText("ok"))
http.HandleFunc("/", listPulls)
fmt.Printf("Listening on port %d\n", *port)
log.Fatal(http.ListenAndServe(fmt.Sprintf(":%d", *port), nil))
}