diff --git a/pkg/systemlogmonitor/logwatchers/log_watchers.go b/pkg/systemlogmonitor/logwatchers/log_watchers.go index a4b7562d..7c91522f 100644 --- a/pkg/systemlogmonitor/logwatchers/log_watchers.go +++ b/pkg/systemlogmonitor/logwatchers/log_watchers.go @@ -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 {