HomeClusterLabs Projects

Refactor: libcrmcommon: new convenience function pcmk__is_up_action()

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Refactor: libcrmcommon: new convenience function pcmk__is_up_action()

The new function checks for start, promote, or migrate_from.

Some of the callers previously did not check for one or another of the actions,
but they were not reachable with those, so nothing really changes, and this is
logically consistent.

The previous code incorrectly used a case-insensitive comparison. The
new code is case-sensitive.

Details

Provenance
kgaillotAuthored on Jun 14 2023, 3:51 PM

Commit No Longer Exists

This commit no longer exists in the repository.