Skip to content

Commit

Permalink
fix(client): Adapt image pull policy type for API
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianoKF committed Oct 25, 2024
1 parent 0f7ba65 commit e8de991
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/cli/commands/submit.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def _submit_remote_job(
file=job.file,
image_ref=_build_image(job, mode).tag,
mode=mode,
pull_policy=pull_policy,
pull_policy=openapi_client.ImagePullPolicy(pull_policy.value),
options=openapi_client.JobOptions.model_validate(job.options.model_dump()),
submission_context=SubmissionContext().to_dict(),
)
Expand Down

0 comments on commit e8de991

Please sign in to comment.