Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -39,8 +39,7 @@ def PrintExportList(opts, args):
nothing
"""
op = opcodes.OpQueryExports(nodes=opts.nodes)
exports = SubmitOpCode(op)
exports = GetClient().QueryExports(opts.nodes)
for node in exports:
print ("Node: %s" % node)
print ("Exports:")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment