chore(deps): bump github.com/prometheus/client_golang from 1.18.0 to 1.20.4 #8345
Annotations
10 errors and 1 warning
Run golangci-lint:
metricproviders/prometheus/prometheus_test.go#L88
cannot use mock (variable of type *mockAPI) as "github.com/prometheus/client_golang/api/prometheus/v1".API value in argument to NewPrometheusProvider: *mockAPI does not implement "github.com/prometheus/client_golang/api/prometheus/v1".API (wrong type for method LabelNames)
|
Run golangci-lint:
metricproviders/prometheus/prometheus_test.go#L109
cannot use mock (variable of type *mockAPI) as "github.com/prometheus/client_golang/api/prometheus/v1".API value in argument to NewPrometheusProvider: *mockAPI does not implement "github.com/prometheus/client_golang/api/prometheus/v1".API (wrong type for method LabelNames)
|
Run golangci-lint:
metricproviders/prometheus/prometheus_test.go#L140
cannot use mock (variable of type *mockAPI) as "github.com/prometheus/client_golang/api/prometheus/v1".API value in argument to NewPrometheusProvider: *mockAPI does not implement "github.com/prometheus/client_golang/api/prometheus/v1".API (wrong type for method LabelNames)
|
Run golangci-lint:
metricproviders/prometheus/prometheus_test.go#L175
cannot use mock (variable of type *mockAPI) as "github.com/prometheus/client_golang/api/prometheus/v1".API value in argument to NewPrometheusProvider: *mockAPI does not implement "github.com/prometheus/client_golang/api/prometheus/v1".API (wrong type for method LabelNames)
|
Run golangci-lint:
metricproviders/prometheus/prometheus_test.go#L208
cannot use mock (variable of type *mockAPI) as "github.com/prometheus/client_golang/api/prometheus/v1".API value in argument to NewPrometheusProvider: *mockAPI does not implement "github.com/prometheus/client_golang/api/prometheus/v1".API (wrong type for method LabelNames)
|
Run golangci-lint:
metricproviders/prometheus/prometheus_test.go#L241
cannot use mock (variable of type *mockAPI) as "github.com/prometheus/client_golang/api/prometheus/v1".API value in argument to NewPrometheusProvider: *mockAPI does not implement "github.com/prometheus/client_golang/api/prometheus/v1".API (wrong type for method LabelNames)
|
Run golangci-lint:
metricproviders/prometheus/prometheus_test.go#L269
cannot use mock (variable of type *mockAPI) as "github.com/prometheus/client_golang/api/prometheus/v1".API value in argument to NewPrometheusProvider: *mockAPI does not implement "github.com/prometheus/client_golang/api/prometheus/v1".API (wrong type for method LabelNames)
|
Run golangci-lint:
metricproviders/prometheus/prometheus_test.go#L294
cannot use mock (variable of type *mockAPI) as "github.com/prometheus/client_golang/api/prometheus/v1".API value in argument to NewPrometheusProvider: *mockAPI does not implement "github.com/prometheus/client_golang/api/prometheus/v1".API (wrong type for method LabelNames)
|
Run golangci-lint:
metricproviders/prometheus/prometheus_test.go#L320
cannot use mock (variable of type *mockAPI) as "github.com/prometheus/client_golang/api/prometheus/v1".API value in argument to NewPrometheusProvider: *mockAPI does not implement "github.com/prometheus/client_golang/api/prometheus/v1".API (wrong type for method LabelNames)
|
Run golangci-lint:
metricproviders/prometheus/prometheus_test.go#L346
cannot use mock (variable of type *mockAPI) as "github.com/prometheus/client_golang/api/prometheus/v1".API value in argument to NewPrometheusProvider: *mockAPI does not implement "github.com/prometheus/client_golang/api/prometheus/v1".API (wrong type for method LabelNames)
|
Set up Go
Restore cache failed: Dependencies file is not found in /home/runner/work/argo-rollouts/argo-rollouts. Supported file pattern: go.sum
|
Loading