mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
changelog + PUT
This commit is contained in:
@@ -147,7 +147,7 @@ func (s *HTTPServer) nodeQuery(resp http.ResponseWriter, req *http.Request,
|
||||
}
|
||||
|
||||
func (s *HTTPServer) nodePurge(resp http.ResponseWriter, req *http.Request, nodeID string) (interface{}, error) {
|
||||
if req.Method != "POST" {
|
||||
if req.Method != "PUT" && req.Method != "POST" {
|
||||
return nil, CodedError(405, ErrInvalidMethod)
|
||||
}
|
||||
args := structs.NodeDeregisterRequest{
|
||||
|
||||
Reference in New Issue
Block a user