nolint gosec

This commit is contained in:
William Banfield
2022-10-28 10:39:32 -04:00
parent af054f1626
commit e7443258fb
3 changed files with 3 additions and 4 deletions

View File

@@ -891,7 +891,7 @@ func NewNode(config *cfg.Config,
if config.RPC.PprofListenAddress != "" {
go func() {
logger.Info("Starting pprof server", "laddr", config.RPC.PprofListenAddress)
logger.Error("pprof server error", "err", http.ListenAndServe(config.RPC.PprofListenAddress, nil))
logger.Error("pprof server error", "err", http.ListenAndServe(config.RPC.PprofListenAddress, nil)) //nolint: gosec
}()
}