diff options
author | Joram Wilander <jwawilander@gmail.com> | 2015-10-20 07:58:05 -0400 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2015-10-20 07:58:05 -0400 |
commit | 7d8e08ccf6211d3df78eb6cfd4a198df77072540 (patch) | |
tree | 8703ffd97990c74e60360b6ddba811eb0065eea1 /mattermost.go | |
parent | 88b3aa4d80e7ee540083f897cdce3f9634c4a8f9 (diff) | |
parent | 04bf527966db559523fb0ec317af5076241f1bc5 (diff) | |
download | chat-7d8e08ccf6211d3df78eb6cfd4a198df77072540.tar.gz chat-7d8e08ccf6211d3df78eb6cfd4a198df77072540.tar.bz2 chat-7d8e08ccf6211d3df78eb6cfd4a198df77072540.zip |
Merge pull request #1095 from rgarmsen2295/plt-661
PLT-661 Changed all goroutine functions to use '...AndForget' as the naming convention
Diffstat (limited to 'mattermost.go')
-rw-r--r-- | mattermost.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mattermost.go b/mattermost.go index 48487ee73..e1ae58904 100644 --- a/mattermost.go +++ b/mattermost.go @@ -66,7 +66,7 @@ func main() { manualtesting.InitManualTesting() } - securityAndDiagnosticsJob() + runSecurityAndDiagnosticsJobAndForget() // wait for kill signal before attempting to gracefully shutdown // the running service @@ -78,7 +78,7 @@ func main() { } } -func securityAndDiagnosticsJob() { +func runSecurityAndDiagnosticsJobAndForget() { go func() { for { if *utils.Cfg.ServiceSettings.EnableSecurityFixAlert { |