HomeClusterLabs Projects

Refactor: libcrmcommon,scheduler,tools: use new integer parsing function

Description

Refactor: libcrmcommon,scheduler,tools: use new integer parsing function

This replaces calls to crm_parse_int() and its alias crm_atoi() with equivalent
calls to the new pcmkscan_min_int() or pcmkscan_ll() functions, where it
does not change behavior (other than logging).

This will allow us to deprecate those functions, and simplifies code in some
cases.

Details

Provenance
kgaillotAuthored on Mar 19 2021, 7:00 PM
Parents
rP5ef28b94673c: Low: all: constrain minimum when parsing certain internally generated integers
Branches
Unknown
Tags
Unknown

Event Timeline