Typo fix: encounts->encounters

encounts->encounters
This commit is contained in:
AdamDang
2018-06-22 14:04:45 +08:00
committed by GitHub
parent 8f286a4415
commit e6e42175fa
@@ -31,7 +31,7 @@ func registerLogWatcher(name string, create types.WatcherCreateFunc) {
}
// GetLogWatcherOrDie get a log watcher based on the passed in configuration.
// The function panics when encounts an error.
// The function panics when encounters an error.
func GetLogWatcherOrDie(config types.WatcherConfig) types.LogWatcher {
create, ok := createFuncs[config.Plugin]
if !ok {