Why does the MergeConfigMap method return always nil #1238
Unanswered
nohkwangsun
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm the begginer of golang and viper.
When I wanted to merge 2 configs into one, I used viper.MergeConfigMap method.
Unfortunately, my configs have a problem related to format differences.
Error log was printed like below.
And I checked the source code to resovle my issue.
The MergeConfigMap code shows that the method return always nil.
It's not my expectation.
The error log was printed, so I thought of couse the method return error not nil.
There are any reason that the method return nil ?
If not, can I change some codes and make PR?
Beta Was this translation helpful? Give feedback.
All reactions