Skip to content

CFE-3294: make callers declare intent when reading a variable - #6303

Closed
nickanderson wants to merge 1 commit into
cfengine:masterfrom
nickanderson:CFE-3294-accessor-split/master
Closed

CFE-3294: make callers declare intent when reading a variable#6303
nickanderson wants to merge 1 commit into
cfengine:masterfrom
nickanderson:CFE-3294-accessor-split/master

Conversation

@nickanderson

@nickanderson nickanderson commented Aug 18, 2026

Copy link
Copy Markdown
Member

EvalContextVariableGet() always returned the plaintext value, so a caller had
no way to ask for a secret-tagged variable to be redacted. Adds a get_secret
parameter and *Plaintext wrappers, and moves every existing caller onto the

EvalContextVariableGet() always returned the plaintext value, so a caller had
no way to ask for a secret-tagged variable to be redacted. Adds a get_secret
parameter and *Plaintext wrappers, and moves every existing caller onto the
plaintext form.

No behaviour change: every call site asks for plaintext, exactly as before.

Ticket: CFE-3294
Changelog: None
@nickanderson
nickanderson deleted the CFE-3294-accessor-split/master branch August 18, 2026 01:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant