Fix method not allowed log message
This commit is contained in:
parent
157f468e0c
commit
811481298a
@ -293,7 +293,7 @@ func hookHandler(w http.ResponseWriter, r *http.Request) {
|
|||||||
|
|
||||||
if !allowedMethod {
|
if !allowedMethod {
|
||||||
w.WriteHeader(http.StatusMethodNotAllowed)
|
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
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user