diff --git a/app/config.go b/app/config.go index b86dcf5abc9..b2f33a8128b 100644 --- a/app/config.go +++ b/app/config.go @@ -83,7 +83,7 @@ func (a *App) LimitedClientConfig() map[string]string { return a.Srv.limitedClientConfig } -// Registers a function with a given to be called when the config is reloaded and may have changed. The function +// Registers a function with a given listener to be called when the config is reloaded and may have changed. The function // will be called with two arguments: the old config and the new config. AddConfigListener returns a unique ID // for the listener that can later be used to remove it. func (s *Server) AddConfigListener(listener func(*model.Config, *model.Config)) string { @@ -104,7 +104,7 @@ func (a *App) RemoveConfigListener(id string) { } // ensurePostActionCookieSecret ensures that the key for encrypting PostActionCookie exists -// and future calls to PostAcrionCookieSecret will always return a valid key, same on all +// and future calls to PostActionCookieSecret will always return a valid key, same on all // servers in the cluster func (a *App) ensurePostActionCookieSecret() error { if a.Srv.postActionCookieSecret != nil {