Add missing call to initWF.Done()

This commit is contained in:
Nicolas Martin 2019-01-03 15:31:09 +01:00 committed by Márk Sági-Kazár
parent e6d1c6bc9a
commit e325492b82

View file

@ -295,6 +295,7 @@ func (v *Viper) WatchConfig() {
filename, err := v.getConfigFile()
if err != nil {
log.Printf("error: %v\n", err)
initWG.Done()
return
}