Skip to content
Snippets Groups Projects
Commit 318a2a53 authored by Moe Jette's avatar Moe Jette
Browse files

Add return_code field to epilog complete RPC.

parent e469f78a
No related branches found
No related tags found
No related merge requests found
......@@ -213,6 +213,7 @@ typedef struct kill_tasks_msg {
typedef struct epilog_complete_msg {
uint32_t job_id;
uint32_t return_code;
char *node_name;
} epilog_complete_msg_t;
......
......@@ -1145,6 +1145,7 @@ _pack_epilog_comp_msg(epilog_complete_msg_t * msg, Buf buffer)
assert(msg != NULL);
pack32(msg->job_id, buffer);
pack32(msg->return_code, buffer);
packstr(msg->node_name, buffer);
}
......@@ -1160,6 +1161,7 @@ _unpack_epilog_comp_msg(epilog_complete_msg_t ** msg, Buf buffer)
*msg = tmp_ptr;
safe_unpack32(&(tmp_ptr->job_id), buffer);
safe_unpack32(&(tmp_ptr->return_code), buffer);
safe_unpackstr_xmalloc(& (tmp_ptr->node_name), &uint16_tmp, buffer);
return SLURM_SUCCESS;
......
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