Skip to content

Commit

Permalink
[batch] Fix render_job() args
Browse files Browse the repository at this point in the history
  • Loading branch information
dinvlad committed Apr 6, 2020
1 parent 3b02b5d commit 296f55d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion batch/entrypoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import yaml


def render_job(name: str, subscription: str, spec: str, job_input: str) -> V1Job:
def render_job(name: str, spec: str, job_input: str) -> V1Job:
metadata = V1ObjectMeta(name=name)
spec = spec.format(JOB_INPUT=job_input)
spec = yaml.safe_load(spec)
Expand Down

0 comments on commit 296f55d

Please sign in to comment.