HomeClusterLabs Projects

Refactor: libstonithd: Replace stonith__device_parameter_flags()

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
rPb921325616db: Refactor: executor: Few best practices for execute_stonith_action()
Branches
Unknown
Tags
Unknown