Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
d8b42db8
Commit
d8b42db8
authored
3 years ago
by
Nathan Rini
Committed by
Marshall Garey
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
openapi/dbv0.0.37 - correct check of list_for_each() output in _dump_stats_user_list
Bug 13255
parent
a8dd6ca6
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
NEWS
+2
-0
2 additions, 0 deletions
NEWS
src/plugins/openapi/dbv0.0.37/parse.c
+1
-1
1 addition, 1 deletion
src/plugins/openapi/dbv0.0.37/parse.c
with
3 additions
and
1 deletion
NEWS
+
2
−
0
View file @
d8b42db8
...
...
@@ -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
==========================
...
...
This diff is collapsed.
Click to expand it.
src/plugins/openapi/dbv0.0.37/parse.c
+
1
−
1
View file @
d8b42db8
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment