We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95e1943 commit abe9498Copy full SHA for abe9498
pkg/rpc/server.go
@@ -277,11 +277,11 @@ func (s *Server) setupHTTP() {
277
if atomic.LoadInt32(&s.shutdownComplete) == 1 {
278
// Shutdown is complete, Envoy can now terminate
279
w.WriteHeader(http.StatusOK)
280
- w.Write([]byte("ready"))
+ w.Write([]byte("ready")) // nolint:errcheck
281
} else {
282
// Still running or shutting down, Envoy must wait
283
w.WriteHeader(http.StatusServiceUnavailable)
284
- w.Write([]byte("not ready"))
+ w.Write([]byte("not ready")) // nolint:errcheck
285
}
286
})
287
0 commit comments