diff --git a/viper.go b/viper.go index d9974bc..95ca75b 100644 --- a/viper.go +++ b/viper.go @@ -1408,7 +1408,7 @@ func (v *Viper) Set(key string, value interface{}) { // Unset deletes a key from Viper. // Unset is case-insensitive for a key. -func Unset(key string) { v.Unset(key, value) } +func Unset(key string) { v.Unset(key) } func (v *Viper) Unset(key string) { // If alias passed in, then set the proper override key = v.realKey(strings.ToLower(key))