diff --git a/NEWS b/NEWS index f5d6397dc3cced12c5b3c336577947924bf9e588..d2a67e7c9b51cb59d76a456705f6752eaa406fe3 100644 --- a/NEWS +++ b/NEWS @@ -124,6 +124,7 @@ documents those changes that are of interest to users and administrators. -- openapi/dbv0.0.38 - Correct tres field in qos list in openapi.json. -- openapi/dbv0.0.38 - Correct het job details types in jobs in openapi.json -- openapi/dbv0.0.38 - Correct task type for job steps in openapi.json. + -- openapi/dbv0.0.38 - Sync fields for errors to source in openapi.json. * Changes in Slurm 21.08.7 ========================== diff --git a/doc/html/openapi_release_notes/slurm-22.05.0.html b/doc/html/openapi_release_notes/slurm-22.05.0.html index 35232b06d7ac746474ee4e1b058711635336e485..5a5d8977133a3cb1c4aba3c1a8294014eb8fb9a3 100644 --- a/doc/html/openapi_release_notes/slurm-22.05.0.html +++ b/doc/html/openapi_release_notes/slurm-22.05.0.html @@ -191,6 +191,9 @@ <td class="tdchange" colspan=2> <ul> <li>.components.schemas."dbv0.0.38_response_association_delete".properties.removed_associations</li> + <li>.components.schemas."dbv0.0.38_error".properties.error_number</li> + <li>.components.schemas."dbv0.0.38_error".properties.source</li> + <li>.components.schemas."dbv0.0.38_error".properties.description</li> </ul> </td> </tr> diff --git a/src/plugins/openapi/dbv0.0.38/openapi.json b/src/plugins/openapi/dbv0.0.38/openapi.json index ae5a0b53818e0027a84ab98f340fabcb5f8ce73b..5df247cb070e8bf5d530fa5c8d03ff5947878f84 100644 --- a/src/plugins/openapi/dbv0.0.38/openapi.json +++ b/src/plugins/openapi/dbv0.0.38/openapi.json @@ -3628,13 +3628,21 @@ }, "dbv0.0.38_error": { "properties": { - "errno": { - "description": "Error number", + "error_number": { + "description": "Slurm internal error number", "type": "integer" }, "error": { "description": "Error message", "type": "string" + }, + "source": { + "description": "Where error occured in the source", + "type": "string" + }, + "description": { + "description": "Explaination of cause of error", + "type": "string" } }, "type": "object"