projects
/
ganeti-local
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
082a7f9
)
Mark call_node_leave_cluster as a static method
author
Michael Hanselmann
<hansmi@google.com>
Fri, 10 Oct 2008 17:08:09 +0000
(17:08 +0000)
committer
Michael Hanselmann
<hansmi@google.com>
Fri, 10 Oct 2008 17:08:09 +0000
(17:08 +0000)
Reviewed-by: iustinp
lib/rpc.py
patch
|
blob
|
history
diff --git
a/lib/rpc.py
b/lib/rpc.py
index
bb880dc
..
1d180a3
100644
(file)
--- 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