-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When processing environment variable overrides, Viper may pass back objects that satisfy the map[string]interface{} type, which does not match the map[interface{}]interface{} type. This change fixes the issue. I don't fully understand why the current code does not work, but the modified code does seem to work and there is a precedent in the Viper code at viper.go, line 358. Change-Id: Ibdf2ac43632a897113096de293c7340c09627aea Signed-off-by: Bishop Brock <bcbrock@us.ibm.com>
- Loading branch information
bcbrock
committed
Nov 1, 2016
1 parent
18a44d0
commit 295cc28
Showing
2 changed files
with
19 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters