HomeClusterLabs Projects

Low: python: No longer use a default section argument.

Description

Low: python: No longer use a default section argument.

Previously when modifying the constraints section of the generated CIB,
we would not pass any section argument. This would mean we'd default to
"all", which is not a valid section as far as cibadmin is concerned.

Instead, pass "constraints" for the section here. This gets rid of the
only place where we were using the default, so it can be made into a
required parameter.

Details

Provenance
clumensAuthored on Jun 29 2023, 4:01 PM
Parents
rP66f20f735964: Refactor: python: Add helper functions for building XML.
Branches
Unknown
Tags
Unknown