Skip to content

Commit

Permalink
Parse non exact avp conf
Browse files Browse the repository at this point in the history
  • Loading branch information
tarrencev committed Jun 3, 2020
1 parent eaa288b commit a8a540f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/conf/avp/conf.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func (c *Config) load() bool {
fmt.Printf("config file %s read failed. %v\n", c.CfgFile, err)
return false
}
err = viper.GetViper().UnmarshalExact(c)
err = viper.GetViper().Unmarshal(c)
if err != nil {
fmt.Printf("config file %s loaded failed. %v\n", c.CfgFile, err)
return false
Expand Down

0 comments on commit a8a540f

Please sign in to comment.