Skip to content

Commit

Permalink
daemon: Modify health check to allow '/' endpoint.
Browse files Browse the repository at this point in the history
  • Loading branch information
rzendacott committed Jun 1, 2015
1 parent 7e324fd commit 6f9cd5d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion daemon/daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ func setUpHealthCheckService(port string, endpoint string) {
mux.HandleFunc(endpoint, func(rw http.ResponseWriter, req *http.Request) {
rw.WriteHeader(http.StatusOK)
})
mux.Handle("/", http.NotFoundHandler())
go http.ListenAndServe(":"+port, mux)
}

Expand Down

0 comments on commit 6f9cd5d

Please sign in to comment.