Skip to content

Commit

Permalink
fix: pop item method
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmerrell committed Feb 18, 2023
1 parent 31ab897 commit 3df7d81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runpod/serverless/modules/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def run_job(handler, job):
elif "error" in job_output:
run_result = {"error": str(job_output['error'])}
elif "refresh_worker" in job_output:
cleaned_output = job_output.pop("refresh_worker")
job_output.pop("refresh_worker")
run_result = {
"stopPod": True,
"output": cleaned_output
Expand Down

0 comments on commit 3df7d81

Please sign in to comment.