Une MAJ de sécurité est nécessaire sur notre version actuelle. Elle sera effectuée lundi 02/08 entre 12h30 et 13h. L'interruption de service devrait durer quelques minutes (probablement moins de 5 minutes).

Commit ca81c4a4 authored by MOMMESSIN Clement's avatar MOMMESSIN Clement
Browse files

Forwards optionnal mapping in EXECUTE_JOB if given

parent ed1d9941
......@@ -154,6 +154,10 @@ class Batsim(object):
if io_jobs is not None and job.id in io_jobs:
message["data"]["additional_io_job"] = io_jobs[job.id]
if hasattr(job, "mapping"):
message["data"]["mapping"] = job.mapping
self.jobs[job.id].mapping = job.mapping
if hasattr(job, "storage_mapping"):
message["data"]["storage_mapping"] = job.storage_mapping
self.jobs[job.id].storage_mapping = job.storage_mapping
......
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