HomeClusterLabs Projects

Refactor: libcrmcommon: New pcmk__xe_get_guint()
52dd8ca4059dUnpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Refactor: libcrmcommon: New pcmk__xe_get_guint()

To replace crm_element_value_ms().

The only thing milliseconds-specific about the existing function was the
error message. IMO, it's better not to log errors or warnings within the
getter function. The caller has more context and can log errors or
warnings if appropriate. Sometimes, a parse failure may be expected as a
legitimate possibility.

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

Details

Provenance
nrwahl2Authored on Mar 19 2025, 3:53 AM

Event Timeline

Commit No Longer Exists

This commit no longer exists in the repository.