HomeClusterLabs Projects

Refactor: fencer: pass full result when finalizing peer fencing actions

Description

Refactor: fencer: pass full result when finalizing peer fencing actions

Rename remote_op_done() to finalize_op() for readability, and make it take a
full result as an argument, rather than a legacy return code.

This does cause one change in behavior: when all topology levels fail,
the legacy return code returned will be -pcmk_err_generic instead of EINVAL.

Details

Provenance
kgaillotAuthored on Nov 19 2021, 5:32 PM
Parents
rP939bd6f5f0f7: Feature: fencer: set exit reasons for fencing timeouts
Branches
Unknown
Tags
Unknown

Event Timeline