-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecate usage of bare env vars and config sources
Deprecate usage of bare environment variables and config sources in configuration files. - Use `${env:VAR}` or `${VAR}` instead of `$VAR`. - Use `${uri:selector}` instead of `${uri:selector}`, e.g. `${file:/path/to/file}` instead of `$file:/path/to/file`. Detect such usages and print a deprecation warning. It's ok to not use logger because it's not initiated at this point yet. We use `log.Print` at the stage in other places as well.
- Loading branch information
Showing
2 changed files
with
30 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters