build(deps): bump the k8s group across 6 directories with 5 updates - #7403
dependabot[bot] wants to merge 2 commits into
reviewdog [golangci] report
reported by reviewdog 🐶
Findings (3)
pkg/app/piped/analysisprovider/metrics/prometheus/fake_client.go|1| : # github.com/pipe-cd/pipecd/pkg/app/piped/analysisprovider/metrics/prometheus [github.com/pipe-cd/pipecd/pkg/app/piped/analysisprovider/metrics/prometheus.test]
pkg/app/piped/analysisprovider/metrics/prometheus/prometheus.go|68 col 97| too many arguments in call to config.NewBasicAuthRoundTripper
pkg/app/piped/analysisprovider/metrics/prometheus/prometheus.go|74 col 10| cannot use v1.NewAPI(client) (value of interface type v1.API) as client value in assignment: v1.API does not implement client (wrong type for method QueryRange)
Filtered Findings (0)
Annotations
Check failure on line 1 in pkg/app/piped/analysisprovider/metrics/prometheus/fake_client.go
github-actions / golangci
[golangci] pkg/app/piped/analysisprovider/metrics/prometheus/fake_client.go#L1
: # github.com/pipe-cd/pipecd/pkg/app/piped/analysisprovider/metrics/prometheus [github.com/pipe-cd/pipecd/pkg/app/piped/analysisprovider/metrics/prometheus.test]
Raw output
pkg/app/piped/analysisprovider/metrics/prometheus/fake_client.go:1: : # github.com/pipe-cd/pipecd/pkg/app/piped/analysisprovider/metrics/prometheus [github.com/pipe-cd/pipecd/pkg/app/piped/analysisprovider/metrics/prometheus.test]
Check failure on line 68 in pkg/app/piped/analysisprovider/metrics/prometheus/prometheus.go
github-actions / golangci
[golangci] pkg/app/piped/analysisprovider/metrics/prometheus/prometheus.go#L68
too many arguments in call to config.NewBasicAuthRoundTripper
Raw output
pkg/app/piped/analysisprovider/metrics/prometheus/prometheus.go:68:97: too many arguments in call to config.NewBasicAuthRoundTripper
have (string, config.Secret, string, http.RoundTripper)
want (config.SecretReader, config.SecretReader, http.RoundTripper)
Check failure on line 74 in pkg/app/piped/analysisprovider/metrics/prometheus/prometheus.go
github-actions / golangci
[golangci] pkg/app/piped/analysisprovider/metrics/prometheus/prometheus.go#L74
cannot use v1.NewAPI(client) (value of interface type v1.API) as client value in assignment: v1.API does not implement client (wrong type for method QueryRange)
Raw output
pkg/app/piped/analysisprovider/metrics/prometheus/prometheus.go:74:10: cannot use v1.NewAPI(client) (value of interface type v1.API) as client value in assignment: v1.API does not implement client (wrong type for method QueryRange)
have QueryRange(context.Context, string, v1.Range, ...v1.Option) (model.Value, v1.Warnings, error)
want QueryRange(context.Context, string, v1.Range) (model.Value, v1.Warnings, error) (typecheck)
// Copyright 2024 The PipeCD Authors.
1 issues:
* typecheck: 1