speculator: Report listening port

pull/977/head
Daniel Wagner-Hall 9 years ago
parent 8aad238cda
commit a69e03f577

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

Loading…
Cancel
Save