Skip to content

Commit abe9498

Browse files
committed
fix: lint error
Signed-off-by: Alessandro Yuichi Okimoto <[email protected]>
1 parent 95e1943 commit abe9498

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/rpc/server.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,11 +277,11 @@ func (s *Server) setupHTTP() {
277277
if atomic.LoadInt32(&s.shutdownComplete) == 1 {
278278
// Shutdown is complete, Envoy can now terminate
279279
w.WriteHeader(http.StatusOK)
280-
w.Write([]byte("ready"))
280+
w.Write([]byte("ready")) // nolint:errcheck
281281
} else {
282282
// Still running or shutting down, Envoy must wait
283283
w.WriteHeader(http.StatusServiceUnavailable)
284-
w.Write([]byte("not ready"))
284+
w.Write([]byte("not ready")) // nolint:errcheck
285285
}
286286
})
287287

0 commit comments

Comments
 (0)