mirror of
https://github.com/mattermost/mattermost.git
synced 2026-05-28 04:35:04 -04:00
Fixed comments syntaxt in app config file (#13055)
fixed syntax error in comment in config.go
This commit is contained in:
parent
cdb61db9c4
commit
c488b3c718
1 changed files with 2 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue