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