Skip to content

Commit

Permalink
Merge pull request #231 from modulitos/modulitos/cleanup-healthz-endp…
Browse files Browse the repository at this point in the history
…oint

cleanup old healthz endpoint
  • Loading branch information
kmala committed Jul 9, 2024
2 parents 88006e0 + d4873c2 commit bd3e26d
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 bd3e26d

Please sign in to comment.