HomeClusterLabs Projects

Refactor: libstonithd: functionize converting stonith_action_t to svc_action_t

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

Description

Refactor: libstonithd: functionize converting stonith_action_t to svc_action_t

The only changes are:

  • Avoid unnecessary calls to basename() (action->agent is never a full path, and wouldn't work if it were, because we prefix PCMK__FENCE_BINDIR to it)
  • Use pcmk__str_copy() instead of strdup(), to assert on memory errors

Details

Provenance
kgaillotAuthored on Dec 11 2024, 3:10 PM

Commit No Longer Exists

This commit no longer exists in the repository.