Could you post that snippet?
function slurm_job_submit ( job_desc, part_list, submit_uid ) if job_desc.features then if not string.find(job_desc.features,"el9") then job_desc.features = job_desc.features .. '¢os79' end else job_desc.features = "centos79" end return slurm.SUCCESS end