HomeClusterLabs Projects

Refactor: libcrmcommon: Some pcmk__substitute_secrets() best practices
e315f046239dUnpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Refactor: libcrmcommon: Some pcmk__substitute_secrets() best practices

  • Limit variable scopes.
  • Improve variable names (l -> iter, key -> param) and error messages.
  • Drop useless lookup and pvalue check.

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

Details

Provenance
nrwahl2Authored on Mar 1 2025, 12:51 AM
Parents
rP26eac9ba7a88: Refactor: libcrmcommon: Don't use FILENAME_MAX for array size
Branches
Unknown
Tags
Unknown

Event Timeline