From 1f05af2be4be4dec35e1c4deca4f150f6a77aff3 Mon Sep 17 00:00:00 2001 From: Michael Hanselmann <hansmi@google.com> Date: Wed, 6 Aug 2008 08:25:31 +0000 Subject: [PATCH] =?UTF-8?q?Use=20new=20query=20RPC=20call=20in=20=E2=80=9C?= =?UTF-8?q?gnt-instance=20list=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: iustinp --- scripts/gnt-instance | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/gnt-instance b/scripts/gnt-instance index e9f4bcc8c..3f315415d 100755 --- a/scripts/gnt-instance +++ b/scripts/gnt-instance @@ -176,8 +176,7 @@ def ListInstances(opts, args): else: 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 = { -- GitLab