mirror of
https://github.com/compose-spec/compose-go.git
synced 2026-11-24 20:00:00 +00:00
template: WithoutLogging also silences nested substitutions
The warning for a variable that is not set was still emitted when the variable appeared in a default value, an alternative value or the text following a braced expression, even with WithoutLogging: the nested substitution only inherited the logger, not the decision to log. Make nested substitutions inherit both. The fuzz target now locks it. Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
94b0a5aabc
commit
e24266a8a7
3 changed files with 55 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue