From c488b3c71828b40e8109fb15212d896209f87b73 Mon Sep 17 00:00:00 2001 From: "Sanele T. Mahlalela" Date: Tue, 12 Nov 2019 13:20:56 +0200 Subject: [PATCH] Fixed comments syntaxt in app config file (#13055) fixed syntax error in comment in config.go --- app/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {