From cc839ea72f4dc1e4deef10f78b52a041dc247778 Mon Sep 17 00:00:00 2001 From: Cyril TOVENA Date: Sun, 29 Jul 2018 20:47:26 -0400 Subject: [PATCH] blind attemps to remove lint check gosec --- pkg/util/webhooks/webhooks.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/util/webhooks/webhooks.go b/pkg/util/webhooks/webhooks.go index fea21bc0ec..7be85a0d78 100644 --- a/pkg/util/webhooks/webhooks.go +++ b/pkg/util/webhooks/webhooks.go @@ -78,7 +78,7 @@ func NewWebHook(certFile, keyFile string) *WebHook { func (wh *WebHook) Run(workers int, stop <-chan struct{}) error { go func() { <-stop - wh.server.Close() // nolint: errcheck + wh.server.Close() // nolint: gosec }() wh.logger.WithField("webook", wh).Infof("https server started")