HomeClusterLabs Projects

Refactor: tools: Unindent a loop in cli_resource_update_attribute.

Description

Refactor: tools: Unindent a loop in cli_resource_update_attribute.

By inverting a condition in the recursive call block, I can unindent a
bunch of code that would come after it. I think the result is just as
readable as what was there before. I considered also unindenting the
entire recursive block, but that would probably reduce readability.

Details

Provenance
clumensAuthored on Apr 2 2024, 1:10 PM
Parents
rP210e6d2609ff: Refactor: tools: Move the need_init block up out of the loop.
Branches
Unknown
Tags
Unknown