mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-12 12:51:22 +00:00
Write doesn't need error checked
This commit is contained in:
committed by
Ethan Buchman
parent
d033470817
commit
478a10aa41
@ -782,5 +782,5 @@ func writeListOfEndpoints(w http.ResponseWriter, r *http.Request, funcMap map[st
|
||||
buf.WriteString("</body></html>")
|
||||
w.Header().Set("Content-Type", "text/html")
|
||||
w.WriteHeader(200)
|
||||
_, _ = w.Write(buf.Bytes()) // error ignored
|
||||
w.Write(buf.Bytes()) // nolint: errcheck
|
||||
}
|
||||
|
Reference in New Issue
Block a user