diff --git a/runpod/serverless/modules/job.py b/runpod/serverless/modules/job.py index daa3d909..3afb1582 100644 --- a/runpod/serverless/modules/job.py +++ b/runpod/serverless/modules/job.py @@ -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