patch -> put
This commit is contained in:
parent
b984d128f0
commit
753aeaf281
@ -364,7 +364,7 @@ module Devops
|
||||
#
|
||||
# * *Returns* :
|
||||
# 200 - Updated
|
||||
app.patch_with_headers "/server/:id/run_list", :headers => [:accept, :content_type] do |node_name|
|
||||
app.put_with_headers "/server/:id/run_list", :headers => [:accept, :content_type] do |node_name|
|
||||
check_privileges("server", "w")
|
||||
Devops::API2_0::Handler::Server.new(request).set_run_list(node_name)
|
||||
create_response("Run list has been changed")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user