HomeClusterLabs Projects

Refactor: libcrmcommon: New pcmk__xe_get_timeval()
41f778f4a9c2Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Refactor: libcrmcommon: New pcmk__xe_get_timeval()

To replace crm_element_value_timeval().

Don't bother defaulting time values to 0. Instead, callers can check the
return value and respond appropriately.

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Mar 19 2025, 1:41 AM
Parents
rPd84c2b226677: Refactor: libcrmcluster: Check return value in parse_election_message()
Branches
Unknown
Tags
Unknown

Event Timeline