diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2019-04-08 19:31:00 +0300 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2019-04-08 19:31:00 +0300 |
commit | dad6406ff19ea5c5485f27b8e43760bb34873f23 (patch) | |
tree | 3072e9581836bf6616a211b9e496694dba6d7755 | |
parent | 28392aff1fc6c879f156c1aecba084b823dce2bd (diff) |
Don't use semicolonjv-refactor-bootstrap
-rw-r--r-- | internal/bootstrap/bootstrap.go | 5 |
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, |