HomeClusterLabs Projects

Refactor: tools: Add better error reporting in crm_rule.

Description

Refactor: tools: Add better error reporting in crm_rule.

By applying the big xpath query in steps, we can better report the
various error conditions. Instead of just reporting most every problem
as "No rule found with ID=", we can report if it doesn't have the right
number of date_expressions, or uses date_spec, or simply doesn't exist.

Details

Provenance
clumensAuthored on Feb 18 2020, 2:57 PM
Parents
rP6f6b65e027fd: Fix: libcrmcommon: Add a CRM_EX_UNSATISFIED return code.
Branches
Unknown
Tags
Unknown

Event Timeline