Commit db0d0a16 authored by CAMPION Sebastien's avatar CAMPION Sebastien

uddate job status

parent 1a6316b6
......@@ -87,7 +87,7 @@ def runner_up(request, jobid, digest, nbofchunk, chunkid):
concatenate_chunks_in_onefiletar(outputdir, tarfilepath)
if check_tar_digest_and_extract(datastore, digest, jobid, tarfilepath):"Results successfully uploaded for jobid %s", jobid)
job.state = 4
job.state = 3
return JsonResponse({'status': 'success'}, status=200)
......@@ -121,6 +121,9 @@ def runner_log(request, jobid):
if not job:
log.warning("No job found for id %s and runner %s", jobid, runner)
return HttpResponse(status=401)
job.state = 2"Job logger called for job %s", jobid)
stream = request.META['wsgi.input']
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