From 15396f60c2b9a5f75061d80aa7ec55f2952b575d Mon Sep 17 00:00:00 2001 From: Michael Hanselmann <hansmi@google.com> Date: Fri, 10 Oct 2008 17:08:09 +0000 Subject: [PATCH] Mark call_node_leave_cluster as a static method Reviewed-by: iustinp --- lib/rpc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/rpc.py b/lib/rpc.py index bb880dcb9..1d180a3a9 100644 --- a/lib/rpc.py +++ b/lib/rpc.py @@ -819,7 +819,8 @@ class RpcRunner(object): return c.getresult().get(node, False) - def call_node_leave_cluster(self, node): + @staticmethod + def call_node_leave_cluster(node): """Requests a node to clean the cluster information it has. This will remove the configuration information from the ganeti data -- GitLab