Commit 55ef0cf6 authored by Guido Trotter's avatar Guido Trotter
Browse files

rapi.client.ModifyNode should PUT rather than POST



This was caught (albeit in a sibylline manner) by unittests on master
which are not present in 2.5.
Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
parent 370f2042
......@@ -1466,7 +1466,7 @@ class GanetiRapiClient(object): # pylint: disable=R0904
@return: job id
"""
return self._SendRequest(HTTP_POST,
return self._SendRequest(HTTP_PUT,
("/%s/nodes/%s/modify" %
(GANETI_RAPI_VERSION, node)), None, kwargs)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment