HomeClusterLabs Projects

Low: libcrmcommon: improve ISO 8601 error handling

Description

Low: libcrmcommon: improve ISO 8601 error handling

This checks more error conditions, logs better error messages, and
always returns NULL for invalid specifications.

Significantly, this drops the CRM_CHECK() assertions for invalid specifications;
the values are provided by the user, not a bug, and should be handled
appropriately. This improves error output from the iso8601 tool.

As a side effect, this fixes several edge case bugs.

Details

Provenance
kgaillotAuthored on Sep 26 2019, 3:24 PM
Parents
rPae426dc606d2: Refactor: libcrmcommon: add function to free time period object
Branches
Unknown
Tags
Unknown

Event Timeline