HomeClusterLabs Projects

Refactor: executor: simplify stonith result handling

Description

Refactor: executor: simplify stonith result handling

for efficiency and readability: call stonith2uniform_rc() directly when
class is known to be stonith, include "ok" case in switch statement,
and don't set exec_rc to "not running" again when stonith2uniform_rc() has
already done that.

Details

Provenance
kgaillotAuthored on Feb 12 2019, 1:21 PM
Parents
rP9c3677841beb: Refactor: executor: functionize stonith agent actions
Branches
Unknown
Tags
Unknown

Event Timeline