HomeClusterLabs Projects

Refactor: tools: functionize working set logic in crm_resource

Description

Refactor: tools: functionize working set logic in crm_resource

This adds two new functions, update_working_set_xml() and update_working_set_from_cib(),
to separate code that will be needed by the planned --wait option. As part of the
refactoring, an error message previously sent to stdout is now correctly sent to stderr.

Details

Provenance
kgaillotAuthored on Mar 5 2015, 4:18 PM
Parents
rP622f276c9b77: Merge pull request #660 from kgaillot/wait
Branches
Unknown
Tags
Unknown

Event Timeline