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

Respec envconfig tag within usage #194

Closed
wants to merge 1 commit into from
Closed

Respec envconfig tag within usage #194

wants to merge 1 commit into from

Conversation

tboerger
Copy link

@tboerger tboerger commented May 4, 2021

This should potentially fix #90, but currently the tests are failing because I haven't touched them so far. Before I fix the tests I wanted to clarify the rules.

Currently the usage functionality is entirely ignoring the custom environment keys, with my approach it's first checking if the envconfig:"" tag is set, if it is, it will just use it. I'm also transforing the tag value to uppercase as the variables seem to be uppercase all the time?

Another part that is not entirely clear to me, should the envconfig: tag ignore the prefix? AFAIK it does, but please make that clear to me :)

@tboerger
Copy link
Author

tboerger commented May 4, 2021

@teepark what do you think about that?

@tboerger tboerger closed this Mar 19, 2022
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.

Variables with an override don't play nice with logs from Usage and Process
1 participant