Commit 3a2c7775 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Fix RPC parameters for {Cancel,Archive}Job

They aren't be tuples on the client side.

Reviewed-by: iustinp
parent af99afa6
......@@ -215,11 +215,11 @@ class ClientOps:
return queue.SubmitJob(ops, node_list)
elif method == luxi.REQ_CANCEL_JOB:
(job_id, ) = args
job_id = args
return queue.CancelJob(job_id)
elif method == luxi.REQ_ARCHIVE_JOB:
(job_id, ) = args
job_id = args
return queue.ArchiveJob(job_id)
elif method == luxi.REQ_QUERY_JOBS:
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