HomeClusterLabs Projects

Refactor: tools: Use while in crm_error when we modify loop var in body

Description

Refactor: tools: Use while in crm_error when we modify loop var in body

The for loop works fine, but we expect the counter variable to change
only in the loop header.

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

Details

Provenance
nrwahl2Authored on Aug 28 2022, 5:13 PM
Parents
rPb601af37371b: Refactor: tools: Use pcmk__str_any_of() in crm_error list loop
Branches
Unknown
Tags
Unknown