Use filename variable

This commit is contained in:
Herkermer Sherwood 2017-04-23 13:41:00 -07:00
parent dceace525a
commit 760350d83c

View file

@ -1137,7 +1137,7 @@ func (v *Viper) ReadInConfig() error {
return UnsupportedConfigError(v.getConfigType())
}
jww.DEBUG.Println("Reading file: ", v.getConfigFile())
jww.DEBUG.Println("Reading file: ", filename)
file, err := afero.ReadFile(v.fs, filename)
if err != nil {
return err