Skip to content

Commit

Permalink
Changing health to healthz
Browse files Browse the repository at this point in the history
  • Loading branch information
yashnevatia committed Jan 4, 2024
1 parent 455720d commit 36b31cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func healthHandler(w http.ResponseWriter, r *http.Request) {
// starts a http server, serving the healthz endpoint.
func startServer() {
mux := http.NewServeMux()
mux.HandleFunc("/health", healthHandler)
mux.HandleFunc("/healthz", healthHandler)

server := &http.Server{
Addr: ":8080",
Expand Down

0 comments on commit 36b31cf

Please sign in to comment.