Skip to content

Fix leaky goroutine on metrics-collector (#1733) #2364

Fix leaky goroutine on metrics-collector (#1733)

Fix leaky goroutine on metrics-collector (#1733) #2364

Triggered via push December 19, 2024 11:29
Status Success
Total duration 5m 16s
Artifacts

lint.yaml

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

Annotations

5 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: collectors/metrics/pkg/metricsclient/metricsclient.go#L265
encoder.Encode undefined (type expfmt.Encoder has no field or method Encode)
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