Skip to content
Snippets Groups Projects
Commit d8b42db8 authored by Nathan Rini's avatar Nathan Rini Committed by Marshall Garey
Browse files

openapi/dbv0.0.37 - correct check of list_for_each() output in _dump_stats_user_list

Bug 13255
parent a8dd6ca6
No related branches found
No related tags found
No related merge requests found
......@@ -63,6 +63,8 @@ documents those changes that are of interest to users and administrators.
-- Fix batch jobs not resolving the username when nss_slurm is enabled.
-- slurmrestd - Avoid slurmrestd ignoring invalid HTTP method if the response
serialized without error.
-- openapi/dbv0.0.37 - Correct conditional that caused the diag output to
give an internal server error status on success.
 
* Changes in Slurm 21.08.5
==========================
......
......@@ -2540,7 +2540,7 @@ static int _dump_stats_user_list(const parser_t *const parse, void *obj,
xassert(data_get_type(dst) == DATA_TYPE_NULL);
args.users = data_set_list(dst);
if (list_for_each(*user_list, _foreach_stats_user_rpc, &args))
if (list_for_each(*user_list, _foreach_stats_user_rpc, &args) < 0)
return ESLURM_DATA_CONV_FAILED;
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