Skip to content
Discussion options

You must be logged in to vote

Am I missing something?

Yes and no, not really. ^^

This happens because of the current parsing logic. The whole [bootstrap] section does not exist in the current local test config file. The issue is, that overwriting config vars via env will only happen, if the section exists in the first place. If it's not even there, the config parser will not even try to parse all vars inside that section, and therefore also not try to overwrite config vars from env.

As an easy fix, I will probably just add all existing sections to the test config while some of them may stay empty. This would make it possible to "overwrite" non-existing values. Not sure if it's easy to adopt the current parsing logic…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@raffomania
Comment options

Answer selected by raffomania
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants