projects
/
ganeti-local
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fae737a
)
Make “gnt-debug delay” work again
author
Michael Hanselmann
<hansmi@google.com>
Mon, 28 Jul 2008 09:16:17 +0000
(09:16 +0000)
committer
Michael Hanselmann
<hansmi@google.com>
Mon, 28 Jul 2008 09:16:17 +0000
(09:16 +0000)
The old API is no longer working.
Reviewed-by: ultrotter
scripts/gnt-debug
patch
|
blob
|
history
diff --git
a/scripts/gnt-debug
b/scripts/gnt-debug
index
f57dd5d
..
b9aba60
100755
(executable)
--- a/
scripts/gnt-debug
+++ b/
scripts/gnt-debug
@@
-44,10
+44,8
@@
def Delay(opts, args):
op = opcodes.OpTestDelay(duration=delay,
on_master=opts.on_master,
on_nodes=opts.on_nodes)
op = opcodes.OpTestDelay(duration=delay,
on_master=opts.on_master,
on_nodes=opts.on_nodes)
+ SubmitOpCode(op)
- job = opcodes.Job(op_list=[op])
- jid = SubmitJob(job)
- print "Job id", jid
return 0
return 0