Insensitivise indexes on creation

This commit is contained in:
Kiril Zvezdarov 2015-03-27 13:40:31 -04:00
parent 10c9322d34
commit 34ced34b4f

View file

@ -610,7 +610,7 @@ func (v *Viper) indexMap(source map[string]interface{}, prefix string) {
for key, val := range source {
indexPath := prefix + key
indexPath := strings.ToLower(prefix + key)
v.index[indexPath] = val