Commit 1f05af2b authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Use new query RPC call in “gnt-instance list”

Reviewed-by: iustinp
parent ee6c7b94
......@@ -176,8 +176,7 @@ def ListInstances(opts, args):
selected_fields = opts.output.split(",")
op = opcodes.OpQueryInstances(output_fields=selected_fields, names=[])
output = SubmitOpCode(op)
output = GetClient().QueryInstances([], selected_fields)
if not opts.no_headers:
headers = {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment