Merge lp:~pwlars/lava-scheduler-tool/resubmit-command into lp:lava-scheduler-tool
Proposed by
Paul Larson
Status: | Merged |
---|---|
Merged at revision: | 18 |
Proposed branch: | lp:~pwlars/lava-scheduler-tool/resubmit-command |
Merge into: | lp:lava-scheduler-tool |
Diff against target: |
45 lines (+21/-0) 2 files modified
lava_scheduler_tool/commands.py (+19/-0) setup.py (+2/-0) |
To merge this branch: | bzr merge lp:~pwlars/lava-scheduler-tool/resubmit-command |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Paul Larson (community) | Needs Resubmitting | ||
Review via email: mp+100727@code.launchpad.net |
Description of the change
*sigh* it helps if you remember to commit the branch before running lp-propose... anyway, here it is for real this time
Here's the lava-scheduler-tool command to go with the resubmit api. I haven't actually tried this yet, but seems straightforward enough.
To post a comment you must log in.
20 + job_id = server. scheduler. submit_ job(self. args.JOB_ ID)
I guess you wanted resubmit_job() here.
PS: since this depends on server api bump we should also wrap this with some checks for missing method error.