Revision ff1c051b lib/cmdlib/node.py
b/lib/cmdlib/node.py | ||
---|---|---|
138 | 138 |
hook_nodes = list(set(hook_nodes) - set([new_node_info.uuid])) |
139 | 139 |
|
140 | 140 |
# add the new node as post hook node by name; it does not have an UUID yet |
141 |
return (hook_nodes, hook_nodes, [self.op.node_name, ]) |
|
141 |
return (hook_nodes, hook_nodes) |
|
142 |
|
|
143 |
def PreparePostHookNodes(self, post_hook_node_uuids): |
|
144 |
return post_hook_node_uuids + [self.new_node.uuid] |
|
142 | 145 |
|
143 | 146 |
def CheckPrereq(self): |
144 | 147 |
"""Check prerequisites. |
Also available in: Unified diff