Commit 8a1a038d authored by BAIRE Anthony's avatar BAIRE Anthony
Browse files

fix the value of tmp_img

parent 27fdf327
......@@ -995,7 +995,7 @@ class JobManager(Manager):
log.exception("job %d: unable to compute exec time" % info.job_id)
if tmp_img is None:
tmp_img = js["Config"]["Labels"].get("allgo.tmp_img")
tmp_img = js["Config"]["Labels"].get("allgo.tmp_img") or None
with docker_warning("job %d: cleanup error: unable to remove container", info.job_id):
info.client.remove_container(info.ctr_id)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment