Skip to content

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

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

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

Triggered via pull request December 20, 2024 20:25
Status Failure
Total duration 1m 32s
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