Fix linting errors

This commit is contained in:
Lorenzo Bolla committed 2022-01-27 09:30:14 +01:00
1 parent 4cf57ae84d
commit 3775d69a60
7 files changed
+15 -3

No files matched your search

+1 -1
View File
@@ -516,7 +516,7 @@ func (context *AptlyContext) GoContextHandleSignals() {
defer context.Unlock()
// Catch ^C
sigch := make(chan os.Signal)
sigch := make(chan os.Signal, 1)
signal.Notify(sigch, os.Interrupt)
var cancel gocontext.CancelFunc