Skip to content

Update module github.com/nginxinc/nginx-prometheus-exporter to v1.4.0 #9208

Update module github.com/nginxinc/nginx-prometheus-exporter to v1.4.0

Update module github.com/nginxinc/nginx-prometheus-exporter to v1.4.0 #9208

Triggered via pull request December 20, 2024 20:08
Status Failure
Total duration 33s
Artifacts

lint.yml

on: pull_request
Matrix: Go Lint
Fit to window
Zoom out
Zoom in

Annotations

8 errors
Go Lint (.): internal/mode/static/metrics/collectors/nginx.go#L26
cannot use logger (variable of type "github.com/go-kit/log".Logger) as *slog.Logger value in argument to nginxCollector.NewNginxCollector
Go Lint (.): internal/mode/static/metrics/collectors/nginx.go#L40
cannot use nc (variable of type *"github.com/nginxinc/nginx-plus-go-client/client".NginxClient) as *"github.com/nginxinc/nginx-plus-go-client/v2/client".NginxClient value in argument to nginxCollector.NewNginxPlusCollector
Go Lint (.): internal/mode/static/metrics/collectors/nginx.go#L44
cannot use logger (variable of type "github.com/go-kit/log".Logger) as *slog.Logger value in argument to nginxCollector.NewNginxPlusCollector (typecheck)
Go Lint (.): internal/mode/static/manager.go#L51
could not import github.com/nginxinc/nginx-gateway-fabric/internal/mode/static/metrics/collectors (-: # github.com/nginxinc/nginx-gateway-fabric/internal/mode/static/metrics/collectors
Go Lint (.): internal/mode/static/metrics/collectors/nginx.go#L26
cannot use logger (variable of type "github.com/go-kit/log".Logger) as *slog.Logger value in argument to nginxCollector.NewNginxCollector
Go Lint (.): internal/mode/static/metrics/collectors/nginx.go#L40
cannot use nc (variable of type *"github.com/nginxinc/nginx-plus-go-client/client".NginxClient) as *"github.com/nginxinc/nginx-plus-go-client/v2/client".NginxClient value in argument to nginxCollector.NewNginxPlusCollector
Go Lint (.): internal/mode/static/metrics/collectors/nginx.go#L44
cannot use logger (variable of type "github.com/go-kit/log".Logger) as *slog.Logger value in argument to nginxCollector.NewNginxPlusCollector) (typecheck)
Go Lint (.)
issues found