From 20e6b87a355c4ee725cd36cd06b43f06edb16f88 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Fri, 26 Aug 2022 19:26:51 -0700 Subject: [PATCH] Remove package-comments rule --- .golangci.yml | 5 +++++ core/transcoder/fileWriterReceiverService.go | 1 + 2 files changed, 6 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index 65483ec55..b781ec6fd 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -78,6 +78,11 @@ linters-settings: - ifElseChain - exitAfterDefer + revive: + rules: + - name: package-comments + disabled: true + forbidigo: # Forbid the following identifiers (identifiers are written using regexp): forbid: diff --git a/core/transcoder/fileWriterReceiverService.go b/core/transcoder/fileWriterReceiverService.go index 4561db6c8..29722865a 100644 --- a/core/transcoder/fileWriterReceiverService.go +++ b/core/transcoder/fileWriterReceiverService.go @@ -43,6 +43,7 @@ func (s *FileWriterReceiverService) SetupFileWriterReceiverService(callbacks Fil config.InternalHLSListenerPort = listenerPort log.Traceln("Transcoder response service listening on: " + listenerPort) go func() { + //nolint: gosec if err := http.Serve(listener, httpServer); err != nil { log.Fatalln("Unable to start internal video writing service", err) }