HomeClusterLabs Projects

Refactor: libcrmcommon: Allow negative values in pcmk__parse_ms()
c282ce0e7f39Unpublished

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: Allow negative values in pcmk__parse_ms()

All callers except crm_mon already handled this.

Also, crm_mon was the only caller that passed NULL for the result
argument. So we now CRM_CHECK() that it's not NULL. It's easty add "NULL
result" as a feature again in the future, if there's a frequent need to
validate that a time+units string is parsable without actually needing
its value.

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

Details

Provenance
nrwahl2Authored on Mar 21 2025, 5:33 AM

Event Timeline

Commit No Longer Exists

This commit no longer exists in the repository.