Skip to content

Commit

Permalink
cleanup old healthz endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
modulitos committed Jul 9, 2024
1 parent 88006e0 commit d4873c2
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -226,11 +226,6 @@ func main() {

metricsMux := http.NewServeMux()
metricsMux.Handle("/metrics", promhttp.Handler())
// TODO: Remove this extra healthz endpoint once we've migrated
// the health check service to the application port:
metricsMux.HandleFunc("/healthz", func(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, "ok")
})

// Register debug endpoint only if flag is enabled
if *debug {
Expand Down

0 comments on commit d4873c2

Please sign in to comment.