projects
/
ganeti-local
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32f9322
)
Use new query function for exports in gnt-backup
author
Michael Hanselmann
<hansmi@google.com>
Fri, 8 Aug 2008 11:29:49 +0000
(11:29 +0000)
committer
Michael Hanselmann
<hansmi@google.com>
Fri, 8 Aug 2008 11:29:49 +0000
(11:29 +0000)
Reviewed-by: iustinp
scripts/gnt-backup
patch
|
blob
|
history
diff --git
a/scripts/gnt-backup
b/scripts/gnt-backup
index
34aeffe
..
7885654
100755
(executable)
--- a/
scripts/gnt-backup
+++ b/
scripts/gnt-backup
@@
-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:")