diff options
author | Pavlo Strokov <pstrokov@gitlab.com> | 2021-08-25 12:04:05 +0300 |
---|---|---|
committer | Pavlo Strokov <pstrokov@gitlab.com> | 2021-08-25 12:04:05 +0300 |
commit | bea500b301bbec8535fbcae58c1da2d29377c666 (patch) | |
tree | 154e04485b7f70da8bfe1934c33f462ddbe8b03d /cmd | |
parent | 27293b72a99628d0b5ae27e8283891451a124748 (diff) | |
parent | 89b16e560d50dfbc532dc8c62ffe6d06a3ac32fa (diff) |
Merge branch 'pks-golangci-1.42.0' into 'master'
Upgrade golangci-lint to v1.42.0
See merge request gitlab-org/gitaly!3786
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/praefect/subcmd.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/praefect/subcmd.go b/cmd/praefect/subcmd.go index dee97f487..17bd17b8d 100644 --- a/cmd/praefect/subcmd.go +++ b/cmd/praefect/subcmd.go @@ -38,7 +38,7 @@ var ( // subCommand returns an exit code, to be fed into os.Exit. func subCommand(conf config.Config, arg0 string, argRest []string) int { - interrupt := make(chan os.Signal) + interrupt := make(chan os.Signal, 1) signal.Notify(interrupt, os.Interrupt) go func() { |