Revision 3ccb3a64 tools/cluster-merge
b/tools/cluster-merge | ||
---|---|---|
197 | 197 |
raise errors.RemoteError("Unable to retrieve list of nodes from %s." |
198 | 198 |
" Fail reason: %s; output: %s" % |
199 | 199 |
(cluster, result.fail_reason, result.output)) |
200 |
nodes_statuses = [line.split(',') for line in result.stdout.splitlines()]
|
|
200 |
nodes_statuses = [line.split(",") for line in result.stdout.splitlines()]
|
|
201 | 201 |
nodes = [node_status[0] for node_status in nodes_statuses |
202 | 202 |
if node_status[1] == "N"] |
203 | 203 |
|
Also available in: Unified diff