Code review comment for lp:~pwlars/lava-scheduler-tool/resubmit-command

Revision history for this message
Paul Larson (pwlars) wrote :

> 20 + job_id = server.scheduler.submit_job(self.args.JOB_ID)
>
> I guess you wanted resubmit_job() here.
oops, typo :)

>
> PS: since this depends on server api bump we should also wrap this with some
> checks for missing method error.
This should already be caught in the try/except block and result in:
ERROR: <Fault -32601: "No such method: u'scheduler.resubmit_job'">

Tested this locally, seems to work.

review: Needs Resubmitting

« Back to merge proposal