HomeClusterLabs Projects

Refactor: attrd: Use CIB transaction in attrd_write_attribute()

Description

Refactor: attrd: Use CIB transaction in attrd_write_attribute()

This is simpler than using cib_mixed_update and will allow us to
deprecate it.

Also improve error checking.

Ref T670

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Aug 5 2023, 2:56 AM
Parents
rP8d3fd2b9cdee: Low: attrd: NULL-check the_cib earlier in attrd_write_attribute()
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task