Revision 3008f56c
b/lib/client/gnt_cluster.py | ||
---|---|---|
1431 | 1431 |
all_nodes = map(compat.fst, result) |
1432 | 1432 |
node_list = [] |
1433 | 1433 |
inst_map = {} |
1434 |
for (idx, (node, master, pinsts, sinsts, powered, |
|
1435 |
offline)) in enumerate(result): |
|
1434 |
for (node, master, pinsts, sinsts, powered, offline) in result: |
|
1436 | 1435 |
if not offline: |
1437 | 1436 |
for inst in (pinsts + sinsts): |
1438 | 1437 |
if inst in inst_map: |
Also available in: Unified diff