Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend default replacement function with applied flag #431

Merged
merged 1 commit into from
Jul 10, 2023

Conversation

srebhan
Copy link
Contributor

@srebhan srebhan commented Jul 7, 2023

In some circumstances it is important to know if an interpolation happened or the variable was actually mapped, e.g. to solve influxdata/telegraf#13565. Extend the DefaultReplacementFunc by the additional flag staying compatible to the previous API...

@srebhan srebhan requested a review from ndeloof as a code owner July 7, 2023 07:01
@ndeloof
Copy link
Collaborator

ndeloof commented Jul 7, 2023

Seems to me this could be also used for docker compose config to collect variables defined in a compose file and list them, see docker/compose#9226

@glours glours merged commit efea3ec into compose-spec:master Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants