Skip to content
New issue

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

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

Already on GitHub? # to your account

include flag name when erroring on env default #1

Merged
merged 1 commit into from
Apr 28, 2020

Conversation

jamieklassen
Copy link

This addresses concourse/concourse#5429 (comment).

This is absolutely necessary -- if you are passing many flags via environment variables, it can be very mysterious to determine which one is invalid. Frankly, my discoveries here and here were very lucky.

Also I quieted the parser test. By adding a test that had a parse error, we were actually clogging the output stream of the test runner.

Signed-off-by: Jamie Klassen <cklassen@pivotal.io>
@vito vito merged commit c7161c3 into vito:err-on-env-defaults Apr 28, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants