Skip to content

Commit 7316547

Browse files
authored
Apply suggestions from code review
Signed-off-by: Ettore Di Giacinto <[email protected]>
1 parent 69e51f9 commit 7316547

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/startup/config_file_watcher.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ func (c *configFileHandler) Watch() error {
6565
configWatcher, err := fsnotify.NewWatcher()
6666
c.watcher = configWatcher
6767
if err != nil {
68-
log.Fatal().Err(err).Str("configdir", c.appConfig.DynamicConfigsDir).Msg("wnable to create a watcher for configuration directory")
68+
log.Fatal().Err(err).Str("configdir", c.appConfig.DynamicConfigsDir).Msg("unable to create a watcher for configuration directory")
69+
6970
}
7071

7172
if c.appConfig.DynamicConfigsDirPollInterval > 0 {

0 commit comments

Comments
 (0)