Skip to content

Fix leaky goroutine on metrics-collector #2362

Fix leaky goroutine on metrics-collector

Fix leaky goroutine on metrics-collector #2362

Triggered via pull request December 19, 2024 08:14
Status Success
Total duration 5m 9s
Artifacts

lint.yaml

on: pull_request
Formatters + Linters (Static Analysis) for Go
5m 0s
Formatters + Linters (Static Analysis) for Go
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 2 warnings
Formatters + Linters (Static Analysis) for Go: proxy/pkg/rewrite/rewrite.go#L43
cannot use expr (variable of type parser.Expr) as parser.Node value in argument to injectproxy.NewEnforcer(false, []*labels.Matcher{…}...).EnforceNode: parser.Expr does not implement parser.Node (missing method PositionRange)
Formatters + Linters (Static Analysis) for Go: proxy/pkg/rewrite/rewrite.go#L49
expr.String undefined (type parser.Expr has no field or method String)
Formatters + Linters (Static Analysis) for Go: proxy/pkg/rewrite/rewrite.go#L43
cannot use expr (variable of type parser.Expr) as parser.Node value in argument to injectproxy.NewEnforcer(false, []*labels.Matcher{…}...).EnforceNode: parser.Expr does not implement parser.Node (missing method PositionRange)
Formatters + Linters (Static Analysis) for Go: proxy/pkg/rewrite/rewrite.go#L49
expr.String undefined (type parser.Expr has no field or method String)
Formatters + Linters (Static Analysis) for Go
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Formatters + Linters (Static Analysis) for Go
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2