HomeClusterLabs Projects

Refactor: libcrmcommon: get next higher schema as schema in update_validation()

Description

Refactor: libcrmcommon: get next higher schema as schema in update_validation()

... instead of an index, which will allow the code to be simplified.

next is always lpc + 1, so replace the
(next > highest_version_schema->schema_index) test with
(lpc == highest_version_schema->schema_index) which is clearer.

Details

Provenance
kgaillotAuthored on Apr 16 2024, 2:31 PM
Parents
rPddc91b2d4757: Refactor: libcrmcommon: get original schema as schema instead of index
Branches
Unknown
Tags
Unknown