Fixed typo

Just a nitpicky typo fix.
This commit is contained in:
Christian Muehlhaeuser 2019-07-20 00:03:44 +02:00 committed by Márk Sági-Kazár
parent cdccc8152c
commit d65fa7608b

View file

@ -345,7 +345,7 @@ func (v *Viper) WatchConfig() {
}
}()
watcher.Add(configDir)
initWG.Done() // done initalizing the watch in this go routine, so the parent routine can move on...
initWG.Done() // done initializing the watch in this go routine, so the parent routine can move on...
eventsWG.Wait() // now, wait for event loop to end in this go-routine...
}()
initWG.Wait() // make sure that the go routine above fully ended before returning