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) }