Fix method not allowed log message

This commit is contained in:
Cameron Moore 2019-12-28 07:09:36 -06:00
parent 157f468e0c
commit 811481298a

View file

@ -293,7 +293,7 @@ func hookHandler(w http.ResponseWriter, r *http.Request) {
if !allowedMethod {
w.WriteHeader(http.StatusMethodNotAllowed)
log.Printf("[%s] HTTP %s method not implemented for hook %q", rid, r.Method, id)
log.Printf("[%s] HTTP %s method not allowed for hook %q", rid, r.Method, id)
return
}