Mark call_node_leave_cluster as a static method
authorMichael Hanselmann <hansmi@google.com>
Fri, 10 Oct 2008 17:08:09 +0000 (17:08 +0000)
committerMichael Hanselmann <hansmi@google.com>
Fri, 10 Oct 2008 17:08:09 +0000 (17:08 +0000)
Reviewed-by: iustinp

lib/rpc.py

index bb880dc..1d180a3 100644 (file)
@@ -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