Skip to content

Commit

Permalink
Fix grpchealthz
Browse files Browse the repository at this point in the history
  • Loading branch information
federicotdn committed Dec 18, 2024
1 parent 9dcb238 commit cf17f8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/grpc/grpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ func NewServer(listen string, healthzListen string) *Server {
func (s *Server) listenHealthz() {
mux := http.NewServeMux()
mux.HandleFunc("/grpchealthz", func(w http.ResponseWriter, req *http.Request) {
w.WriteHeader(http.StatusNoContent)
w.Header().Set("grpc-status", "12")
w.Header().Set("grpc-message", "unimplemented")
w.WriteHeader(http.StatusNoContent)
})

health := &http.Server{
Expand Down

0 comments on commit cf17f8b

Please sign in to comment.