Skip to content

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

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

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

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