HomeClusterLabs Projects

Refactor: libcrmcommon: Change return value in pcmk__parse_ll_range.

Description

Refactor: libcrmcommon: Change return value in pcmk__parse_ll_range.

Instead of pcmk_rc_unknown_format, return various other return codes as
appropriate. ENODATA and pcmk_rc_bad_input are the most common given
that a lot of the problems are going to be malformed strings. EOVERFLOW
can also be returned.

Related T629

Details

Provenance
clumensAuthored on Mar 24 2023, 11:10 AM
Parents
rP126d4b5952c9: Refactor: libcrmcommon: Change return value in pcmk__read_series_sequence.
Branches
Unknown
Tags
Unknown