speculator: Report listening port

This commit is contained in:
Daniel Wagner-Hall 2015-10-01 19:15:30 -05:00
parent 8aad238cda
commit a69e03f577

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))
}