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

fix: INFRACOST_LOG_LEVEL overriding --log-level flag #2455

Merged
merged 1 commit into from
May 9, 2023

Conversation

aliscott
Copy link
Member

@aliscott aliscott commented May 8, 2023

When a config file was used, the INFRACOST_LOG_LEVEL env var was overriding the --log-level flag. The flag should have precendence over the env var.

When a config file was used, the `INFRACOST_LOG_LEVEL` env var was overriding the `--log-level` flag. The flag should have precendence over the env var.
@aliscott aliscott self-assigned this May 8, 2023
@aliscott aliscott marked this pull request as ready for review May 8, 2023 14:02
@aliscott aliscott requested a review from hugorut May 8, 2023 14:03
Copy link
Contributor

@hugorut hugorut left a comment

Choose a reason for hiding this comment

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

👍

@aliscott aliscott merged commit 8bd3790 into master May 9, 2023
10 checks passed
@aliscott aliscott deleted the fix-env-overwriting-log-level-flag branch May 9, 2023 08:01
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.

None yet

2 participants