Skip to content

Commit 22be956

Browse files
committed
Adapt integration testing setup
1 parent 0f89754 commit 22be956

File tree

6 files changed

+132
-403
lines changed

6 files changed

+132
-403
lines changed

scrapyd_k8s/api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def api_schedule():
4949
# any other parameter is passed as spider argument
5050
args = { k: v for k, v in request.form.items() if k not in ('project', 'spider', 'setting', 'jobid', 'priority', '_version') }
5151
env_config, env_secret = project.env_config(), project.env_secret()
52-
jobid = config.launcher().schedule(project, _version, spider, job_id, settings, args, start_suspended=start_suspended)
52+
jobid = config.launcher().schedule(project, _version, spider, job_id, settings, args)
5353
return { 'status': 'ok', 'jobid': job_id }
5454

5555
@app.post("/cancel.json")

0 commit comments

Comments
 (0)