update golangci-lint (#1870)

This commit is contained in:
Alessandro Ros
2023-05-28 17:18:16 +02:00
committed by GitHub
parent 22f05e97e8
commit 89ebc83993
15 changed files with 47 additions and 38 deletions

View File

@@ -122,7 +122,7 @@ func (s *udpSource) Log(level logger.Level, format string, args ...interface{})
}
// run implements sourceStaticImpl.
func (s *udpSource) run(ctx context.Context, cnf *conf.PathConf, reloadConf chan *conf.PathConf) error {
func (s *udpSource) run(ctx context.Context, cnf *conf.PathConf, _ chan *conf.PathConf) error {
s.Log(logger.Debug, "connecting")
hostPort := cnf.Source[len("udp://"):]