Chore: linter complains
This commit is contained in:
@ -30,7 +30,9 @@ func init() {
|
||||
}
|
||||
|
||||
func HandlePing(w http.ResponseWriter, r *http.Request) {
|
||||
w.Write([]byte("pong"))
|
||||
if _, err := w.Write([]byte("pong")); err != nil {
|
||||
log.Error("failed to write ping response", "error", err)
|
||||
}
|
||||
}
|
||||
|
||||
func HandleHome(w http.ResponseWriter, r *http.Request) {
|
||||
|
Reference in New Issue
Block a user