Commit 8bb66978 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Use new query function for exports in gnt-backup

Reviewed-by: iustinp
parent 32f93223
......@@ -39,8 +39,7 @@ def PrintExportList(opts, args):
op = opcodes.OpQueryExports(nodes=opts.nodes)
exports = SubmitOpCode(op)
exports = GetClient().QueryExports(opts.nodes)
for node in exports:
print ("Node: %s" % node)
print ("Exports:")
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