projects
/
ganeti-local
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d789a9
)
cmdlib: Use helper for expanding nodes for OOB commands
author
Michael Hanselmann
<hansmi@google.com>
Tue, 10 May 2011 12:15:24 +0000
(14:15 +0200)
committer
Michael Hanselmann
<hansmi@google.com>
Tue, 10 May 2011 14:34:59 +0000
(16:34 +0200)
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
lib/cmdlib.py
patch
|
blob
|
history
diff --git
a/lib/cmdlib.py
b/lib/cmdlib.py
index
02954fb
..
3e603bd
100644
(file)
--- a/
lib/cmdlib.py
+++ b/
lib/cmdlib.py
@@
-3487,8
+3487,7
@@
class LUOobCommand(NoHooksLU):
"""
if self.op.node_names:
- self.op.node_names = [_ExpandNodeName(self.cfg, name)
- for name in self.op.node_names]
+ self.op.node_names = _GetWantedNodes(self, self.op.node_names)
lock_names = self.op.node_names
else:
lock_names = locking.ALL_SET