Skip to content
Snippets Groups Projects
Commit 17621a25 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Make “gnt-debug delay” work again

The old API is no longer working.

Reviewed-by: ultrotter
parent fae737ac
No related branches found
No related tags found
No related merge requests found
......@@ -44,10 +44,8 @@ def Delay(opts, args):
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
......
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