Skip to content
Snippets Groups Projects
Commit 624960a7 authored by Megan Dahl's avatar Megan Dahl Committed by Alejandro Sanchez
Browse files

data_parser/v0.0.39 - Prevent xassert after DUMP_FUNC(QOS_ID) error

If the qos_id is not found in the qos list DUMP_FUNC(QOS_ID) returns
without setting a string in the data_t. This causes an xassert error during
_check_dump() since data_get_type(dst) is DATA_TYPE_NULL while
openapi_type_format_to_data_type(parser->obj_openapi) is a
DATA_TYPE_STRING.

Instead of leaving it as a DATA_TYPE_NULL set the string to be Unknown,
which is also what sacct's normal output shows for any bad QOS IDs.

Bug 17895
parent 6de096b7
No related branches found
No related tags found
Loading
Loading
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