You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be excepted that the Sub viper will also have the correct values for the config. So I can pass the subviper to the package that depends on those configs.
The text was updated successfully, but these errors were encountered:
I have following cobra command
Now when I run the command I try to get the config value.
When running this command I see that the config value is not updated based on Env variable or commandline option.
However when changing the code to read the value as following it does work as expected.
It would be excepted that the Sub viper will also have the correct values for the config. So I can pass the subviper to the package that depends on those configs.
The text was updated successfully, but these errors were encountered: