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

Viper not pulling config from env vars #7

Closed
Huskydog9988 opened this issue Feb 4, 2023 · 0 comments · Fixed by #8
Closed

Viper not pulling config from env vars #7

Huskydog9988 opened this issue Feb 4, 2023 · 0 comments · Fixed by #8
Labels
bug Something isn't working

Comments

@Huskydog9988
Copy link
Member

Huskydog9988 commented Feb 4, 2023

Viper seems like it only pulls config items from env vars when you use viper#Get, but this method is never used because we load all the config items into a sturct using viper#Unmarshal. Due to the config items not getting loaded, it thus causes #4 to occur.

It seems this is a know issue spf13/viper#761.

@Huskydog9988 Huskydog9988 added the bug Something isn't working label Feb 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant