Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2019-04-08 19:31:00 +0300
committerJacob Vosmaer <jacob@gitlab.com>2019-04-08 19:31:00 +0300
commitdad6406ff19ea5c5485f27b8e43760bb34873f23 (patch)
tree3072e9581836bf6616a211b9e496694dba6d7755
parent28392aff1fc6c879f156c1aecba084b823dce2bd (diff)
Don't use semicolonjv-refactor-bootstrap
-rw-r--r--internal/bootstrap/bootstrap.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/internal/bootstrap/bootstrap.go b/internal/bootstrap/bootstrap.go
index d7620eed0..3612a3694 100644
--- a/internal/bootstrap/bootstrap.go
+++ b/internal/bootstrap/bootstrap.go
@@ -69,7 +69,10 @@ func New(pidFile string, upgradesEnabled bool) (*Bootstrap, error) {
}
gracefulStopCh := make(chan struct{})
- go func() { <-upg.Exit(); close(gracefulStopCh) }()
+ go func() {
+ <-upg.Exit()
+ close(gracefulStopCh)
+ }()
return &Bootstrap{
upgrader: upg,