From f1677f5a18cb033f4d08de9ea91fc43bbaef3768 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Tue, 12 Mar 2019 15:14:37 +0100 Subject: [PATCH] Remove superflous insensitiviseMaps in Unmarshal methods Fixes #482 --- viper.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/viper.go b/viper.go index cee37b2..6a617b6 100644 --- a/viper.go +++ b/viper.go @@ -811,8 +811,6 @@ func (v *Viper) UnmarshalKey(key string, rawVal interface{}, opts ...DecoderConf return err } - v.insensitiviseMaps() - return nil } @@ -828,8 +826,6 @@ func (v *Viper) Unmarshal(rawVal interface{}, opts ...DecoderConfigOption) error return err } - v.insensitiviseMaps() - return nil }