speculator: Report listening port
This commit is contained in:
parent
8aad238cda
commit
a69e03f577
1 changed files with 2 additions and 0 deletions
|
@ -362,6 +362,8 @@ func main() {
|
||||||
http.HandleFunc("/diff/html/", s.serveHTMLDiff)
|
http.HandleFunc("/diff/html/", s.serveHTMLDiff)
|
||||||
http.HandleFunc("/healthz", serveText("ok"))
|
http.HandleFunc("/healthz", serveText("ok"))
|
||||||
http.HandleFunc("/", listPulls)
|
http.HandleFunc("/", listPulls)
|
||||||
|
|
||||||
|
fmt.Printf("Listening on port %d\n", *port)
|
||||||
log.Fatal(http.ListenAndServe(fmt.Sprintf(":%d", *port), nil))
|
log.Fatal(http.ListenAndServe(fmt.Sprintf(":%d", *port), nil))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue