style(go_routines): improve variable naming

This commit is contained in:
bergquist
2016-09-28 13:35:24 +02:00
parent 34b31aeef8
commit 991539e410
2 changed files with 10 additions and 7 deletions
+3 -3
View File
@@ -60,10 +60,10 @@ func main() {
setting.BuildCommit = commit
setting.BuildStamp = buildstampInt64
appContext, cancelFn := context.WithCancel(context.Background())
grafanaGroup, _ := errgroup.WithContext(appContext)
appContext, shutdownFn := context.WithCancel(context.Background())
grafanaGroup, appContext := errgroup.WithContext(appContext)
go listenToSystemSignals(cancelFn, grafanaGroup)
go listenToSystemSignals(shutdownFn, grafanaGroup)
flag.Parse()
writePIDFile()