Skip to content
Snippets Groups Projects
Commit ac2c8516 authored by Morris Jette's avatar Morris Jette
Browse files

Correct agent purge logic for a newer message type

parent bbcdf050
No related branches found
No related tags found
No related merge requests found
...@@ -1380,8 +1380,9 @@ static void _purge_agent_args(agent_arg_t *agent_arg_ptr) ...@@ -1380,8 +1380,9 @@ static void _purge_agent_args(agent_arg_t *agent_arg_ptr)
RESPONSE_RESOURCE_ALLOCATION) RESPONSE_RESOURCE_ALLOCATION)
slurm_free_resource_allocation_response_msg( slurm_free_resource_allocation_response_msg(
agent_arg_ptr->msg_args); agent_arg_ptr->msg_args);
else if ((agent_arg_ptr->msg_type == REQUEST_ABORT_JOB) || else if ((agent_arg_ptr->msg_type == REQUEST_ABORT_JOB) ||
(agent_arg_ptr->msg_type == REQUEST_TERMINATE_JOB) || (agent_arg_ptr->msg_type == REQUEST_TERMINATE_JOB) ||
(agent_arg_ptr->msg_type == REQUEST_KILL_PREEMPTED) ||
(agent_arg_ptr->msg_type == REQUEST_KILL_TIMELIMIT)) (agent_arg_ptr->msg_type == REQUEST_KILL_TIMELIMIT))
slurm_free_kill_job_msg(agent_arg_ptr->msg_args); slurm_free_kill_job_msg(agent_arg_ptr->msg_args);
else if (agent_arg_ptr->msg_type == SRUN_USER_MSG) else if (agent_arg_ptr->msg_type == SRUN_USER_MSG)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment