HomeClusterLabs Projects

Refactor: libstonithd: Replace stonith__device_parameter_flags()
411edde08ca3Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Refactor: libstonithd: Replace stonith__device_parameter_flags()

...with stonith__param_is_supported().

The parameter flags are the only stonith device flags used outside of
the fencer. This will allow us to move the flag enum into the fencer.

Two lines in the fencer become longer than 80 characters because the
flag names are so long, but this is temporary.

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

Details

Provenance
nrwahl2Authored on Wed, Apr 9, 1:51 AM
Parents
rPdc275a43bd57: Refactor: executor: Few best practices for execute_stonith_action()
Branches
Unknown
Tags
Unknown

Event Timeline