Skip to content

Commit

Permalink
blind attemps to remove lint check gosec
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyril TOVENA committed Jul 30, 2018
1 parent 493e6e2 commit cc839ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/util/webhooks/webhooks.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit cc839ea

Please sign in to comment.