mirror of
https://github.com/openfaas/faas.git
synced 2025-06-22 14:53:25 +00:00
Remove invalid UPDATE HTTP Method from watchdog
The UPDATE HTTP Method isn't valid and not currently in use by the watchdog so removing it. Signed-off-by: John McCabe <john@johnmccabe.net>
This commit is contained in:
@ -301,7 +301,6 @@ func makeRequestHandler(config *WatchdogConfig) func(http.ResponseWriter, *http.
|
||||
http.MethodPost,
|
||||
http.MethodPut,
|
||||
http.MethodDelete,
|
||||
"UPDATE",
|
||||
http.MethodGet:
|
||||
pipeRequest(config, w, r, r.Method)
|
||||
break
|
||||
|
Reference in New Issue
Block a user