Revision 5ae4945a lib/client/gnt_instance.py
b/lib/client/gnt_instance.py | ||
---|---|---|
116 | 116 |
if not names: |
117 | 117 |
raise errors.OpPrereqError("No node names passed", errors.ECODE_INVAL) |
118 | 118 |
ndata = client.QueryNodes(names, ["name", "pinst_list", "sinst_list"], |
119 |
False) |
|
119 |
False)
|
|
120 | 120 |
|
121 | 121 |
ipri = [row[1] for row in ndata] |
122 | 122 |
pri_names = list(itertools.chain(*ipri)) |
Also available in: Unified diff