HomeClusterLabs Projects

Refactor: libcrmcommon: Iterate only once in pcmk__substitute_secrets()
b51d41dc4a59Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Refactor: libcrmcommon: Iterate only once in pcmk__substitute_secrets()

Previously we were iterating over the whole hash table once to filter
out secret parameters into a list, and then iterating over the list to
process the secret parameters. Instead, just iterate over the hash table
and do work if we need to.

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

Details

Provenance
nrwahl2Authored on Mar 1 2025, 2:14 AM

Event Timeline

Commit No Longer Exists

This commit no longer exists in the repository.