diff --git a/viper.go b/viper.go index 9eba0cd..47d027f 100644 --- a/viper.go +++ b/viper.go @@ -467,7 +467,7 @@ func (v *Viper) GetStringMapString(key string) map[string]string { // Returns the value associated with the key as a map to a slice of strings func GetStringMapStringSlice(key string) map[string][]string { return v.GetStringMapStringSlice(key) } -func (v *Viper) GetStringMapStringSlice(key string) map[string]string { +func (v *Viper) GetStringMapStringSlice(key string) map[string][]string { return cast.ToStringMapStringSlice(v.Get(key)) }