HomeClusterLabs Projects

parser: Make config file parser more hierarchy

Description

parser: Make config file parser more hierarchy

pass 'state' down the stack so that the state of the
hierarchy doesn't get lost when there are unexpected items
in the config hierarchy.

Don't bother setting 'state' on SECTION_END as there's no point
now we're going back up the stack.

Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
Reviewed-by: Jan Friesse <jfriesse@redhat.com>

Details

Provenance
chrissie-cAuthored on Apr 21 2016, 8:47 AM
jfriesseCommitted on Apr 22 2016, 7:01 AM
Parents
rC60565b7da7d2: totemconfig: Explicitly pass IP version
Branches
Unknown
Tags
Unknown

Event Timeline