Skip to content

Commit

Permalink
Merge pull request #6064 from slashpai/webhookfix
Browse files Browse the repository at this point in the history
fix: remove verbose logging admission-webhook
  • Loading branch information
simonpasquier committed Nov 6, 2023
2 parents 45185c8 + 374f4b3 commit 3d0df24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/admission-webhook/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ func newSrv(logger log.Logger, tlsConf *tls.Config) *srv {
mux.Handle("/metrics", promhttp.HandlerFor(r, promhttp.HandlerOpts{}))

mux.HandleFunc("/healthz", func(w http.ResponseWriter, r *http.Request) {
w.Write([]byte(`{"status":"up"}`))
w.WriteHeader(http.StatusOK)
w.Write([]byte(`{"status":"up"}`))
})

httpServer := http.Server{
Expand Down

0 comments on commit 3d0df24

Please sign in to comment.