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

Make job step_id be uint32 in API.

Fix typo in scontrol error message.
Treat error situation better, no abort on lookup of step_id given job_id
that is invalid.
parent a7b42b8b
No related branches found
No related tags found
No related merge requests found
......@@ -117,7 +117,9 @@ find_step_record(struct job_record *job_ptr, uint16_t step_id)
ListIterator step_record_iterator;
struct step_record *step_record_point;
assert (job_ptr);
if (job_ptr == NULL)
return NULL;
step_record_iterator = list_iterator_create (job_ptr->step_list);
while ((step_record_point =
......
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