From 55ef0cf6497c570aaab9413851435a7ee744222e Mon Sep 17 00:00:00 2001
From: Guido Trotter <ultrotter@google.com>
Date: Tue, 18 Oct 2011 13:32:12 +0100
Subject: [PATCH] rapi.client.ModifyNode should PUT rather than POST
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This was caught (albeit in a sibylline manner) by unittests on master
which are not present in 2.5.

Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: RenΓ© Nussbaumer <rn@google.com>
---
 lib/rapi/client.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/rapi/client.py b/lib/rapi/client.py
index 213712ddd..899ff0b24 100644
--- a/lib/rapi/client.py
+++ b/lib/rapi/client.py
@@ -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)
 
-- 
GitLab