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

Enhance environment variable expansion in configuration files #1389

Merged
merged 1 commit into from
Apr 15, 2016

Conversation

andrewkroh
Copy link
Member

  • Variable expressions cannot be split across newlines.
  • Unterminated variable expressions cause errors rather than silently swallowing characters.
  • Added an escape sequence for using a literal '${' value.

Follow up to issue #1304

- Variable expressions cannot be split across newlines.
- Unterminated variable expressions cause errors rather than silently swallowing characters.
- Added an escape sequence for using a literal '${' value.

Follow up to issue elastic#1304
@andrewkroh andrewkroh force-pushed the feature/custom-env-var-expansion branch from 7cfea7d to 76b603b Compare April 13, 2016 21:11
"unicode/utf8"
)

// Inspired by: https://cuddle.googlecode.com/hg/talk/lex.html
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one :)

@tsg
Copy link
Contributor

tsg commented Apr 14, 2016

LGTM.

@ruflin ruflin merged commit f4df86c into elastic:master Apr 15, 2016
@andrewkroh andrewkroh deleted the feature/custom-env-var-expansion branch April 19, 2016 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants