From 96747bdab7813faac622d50a553616981bd6b302 Mon Sep 17 00:00:00 2001 From: Iustin Pop <iustin@google.com> Date: Mon, 27 Jun 2011 12:54:28 +0200 Subject: [PATCH] Fix RAPI documentation regarding master role MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Iustin Pop <iustin@google.com> Reviewed-by: RenΓ© Nussbaumer <rn@google.com> --- doc/rapi.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/rapi.rst b/doc/rapi.rst index 89ce59017..99f05907d 100644 --- a/doc/rapi.rst +++ b/doc/rapi.rst @@ -1301,11 +1301,14 @@ It supports the following commands: ``GET``, ``PUT``. The role is always one of the following: - drained - - master - master-candidate - offline - regular +Note that the 'master' role is a special, and currently it can't be +modified via RAPI, only via the command line (``gnt-cluster +master-failover``). + ``GET`` ~~~~~~~ -- GitLab