HomeClusterLabs Projects

Refactor: tools: don't overwrite original attr_id when updating attributes

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Refactor: tools: don't overwrite original attr_id when updating attributes

Previously, cli_resource_update_attribute() would remember the original attr_id
as common_attr_id, then reset attrd_id for each recursively updated resource.
Instead, keep the original attr_id throughout, and use a new rsc_attr_id
variable that can change per resource, to make the logic easier to follow.

Details

Provenance
kgaillotAuthored on Apr 10 2023, 12:12 PM

Commit No Longer Exists

This commit no longer exists in the repository.