HomeClusterLabs Projects

Feature: libpacemaker: improve result for high-level fencing API

Description

Feature: libpacemaker: improve result for high-level fencing API

Previously, pcmk__fencing_action()'s helpers for asynchronous fencing actions
initialized the result to a generic error, and then overrode that only on
success.

Now, set a detailed result for early failures, and use the full result when
available from the fencing API.

A standard return code is still returned to callers at this point.

Details

Provenance
kgaillotAuthored on Nov 10 2021, 4:22 PM
Parents
rPfb2dcedf118f: Merge pull request #2602 from kgaillot/rhbz1470834
Branches
Unknown
Tags
Unknown

Event Timeline