HomeClusterLabs Projects

Low: tools: re-enable crm_resource --lifetime option

Description

Low: tools: re-enable crm_resource --lifetime option

8c410bef mistakenly changed --lifetime from required_argument to no_argument.
This fixes that, and additionally refactors the options to always use
defined constants (no_argument or required_argument) rather than 0 or 1,
to make such errors less likely in the future.

Details

Provenance
kgaillotAuthored on Oct 13 2017, 10:43 AM
Parents
rP73e9046ec58f: Low: libcrmcluster: improve error checking when updating node name
Branches
Unknown
Tags
Unknown

Event Timeline