HomeClusterLabs Projects

Low: tools: handle required node names better in crm_resource

Description

Low: tools: handle required node names better in crm_resource

Currently, --fail is the only option that requires a node name to be specified,
but generalize the handling so future options can reuse it.

This also makes the error handling closer to what's done for required resource
names, both in error message and exit status.

Details

Provenance
kgaillotAuthored on Sep 16 2020, 4:40 PM
Parents
rPea636bc7b290: Refactor: tools: restructure crm_resource command-line resource configuration
Branches
Unknown
Tags
Unknown

Event Timeline