From c54784d9a21dc956fe7ad22468e23f4c9304a8cb Mon Sep 17 00:00:00 2001
From: Michael Hanselmann <hansmi@google.com>
Date: Wed, 6 Aug 2008 08:28:06 +0000
Subject: [PATCH] =?UTF-8?q?Use=20new=20RPC=20call=20in=20=E2=80=9Cgnt-node?=
 =?UTF-8?q?=20list=E2=80=9D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Reviewed-by: iustinp
---
 scripts/gnt-node | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/scripts/gnt-node b/scripts/gnt-node
index c75737f5d..439d9d843 100755
--- a/scripts/gnt-node
+++ b/scripts/gnt-node
@@ -78,8 +78,7 @@ def ListNodes(opts, args):
   else:
     selected_fields = opts.output.split(",")
 
-  op = opcodes.OpQueryNodes(output_fields=selected_fields, names=[])
-  output = SubmitOrSend(op, opts)
+  output = GetClient().QueryNodes([], selected_fields)
 
   if not opts.no_headers:
     headers = {
-- 
GitLab