HomeClusterLabs Projects

Med: schemas.c: avoid downgrade validate-with in a corner case

Description

Med: schemas.c: avoid downgrade validate-with in a corner case

When update_validation is called with CIB without validate-with
attribute or with its value made up, and there's no validation
success, the result would previously be a CIB with validate-with
set to pacemaker-0.6, which would hardly help anything.

Details

Provenance
Jan Pokorný <jpokorny@redhat.com>Authored on Aug 17 2016, 10:53 AM
Parents
rP01bf80828704: Log: schemas.c: cli_config_update/no validation success revamp
Branches
Unknown
Tags
Unknown

Event Timeline