Skip to content

Commit

Permalink
misspell
Browse files Browse the repository at this point in the history
  • Loading branch information
francoispqt committed Jun 18, 2019
1 parent 8e665a9 commit b4ac065
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ func (c *S) RegisterLoaderWatcher(lw LoaderWatcher, loaderHooks ...func(Store) e
}

// RegisterCloser adds a closer to the list of closers.
// Closers are closed when an error occured while reloading a config and the ExitOnError config is set to true
// Closers are closed when an error occurred while reloading a config and the ExitOnError config is set to true
func RegisterCloser(closer io.Closer) Store {
return instance().RegisterCloser(closer)
}
Expand Down
2 changes: 1 addition & 1 deletion watcher/kwfile/filewatcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var defaultRate = 10 * time.Second
type Config struct {
// Files is the path to the files to watch
Files []string
// Rate is the rate at wich the file is watched
// Rate is the rate at which the file is watched
Rate time.Duration
// Debug sets the debug mode on the filewatcher
Debug bool
Expand Down

0 comments on commit b4ac065

Please sign in to comment.