HomeClusterLabs Projects

Fix: tools: Don't output nodes if they don't have failures.

Description

Fix: tools: Don't output nodes if they don't have failures.

When failure output is requested with crm_mon -f, skip any nodes that
don't have any failures. Previously, all nodes were being printed out
regardless. This is done by moving the code that counts failures and
the code that builds the operation list out into its own functions.
Having done that, we can check before printing and skip if necessary.

Details

Provenance
clumensAuthored on Oct 11 2019, 1:35 PM
Parents
rPafd47a04f56c: Fix: libcrmcommon: Don't mention a default page title.
Branches
Unknown
Tags
Unknown

Event Timeline