HomeClusterLabs Projects

crm_attribute: Default --lifetime to forever when using --node

Description

crm_attribute: Default --lifetime to forever when using --node

None of the examples using --node in the help text will succeed
since read_attr_delegate() is passed NULL as section and fails
on an assertion. section should be set using --lifetime to either
"reboot" or "forever". This patch makes --lifetime default to
"forever" if the value was not set explicitly.

Details

Provenance
Kristoffer Grönlund <krig@koru.se>Authored on Mar 28 2014, 5:09 AM
Parents
rP61e95e4864be: Fix: xml: Add missing xslt file
Branches
Unknown
Tags
Unknown

Event Timeline