Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Bump github.com/spf13/viper from 1.10.0 to 1.19.0 #23

Bump github.com/spf13/viper from 1.10.0 to 1.19.0

Bump github.com/spf13/viper from 1.10.0 to 1.19.0 #23

Triggered via pull request June 3, 2024 11:20
Status Failure
Total duration 52s
Artifacts

test.yaml

on: pull_request
Run linters
43s
Run linters
Run unit tests
0s
Run unit tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Run linters: pkg/metrics/prometheus.go#L64
cannot use attribute.String("traceId", traceId) (value of type "go.opentelemetry.io/otel/attribute".KeyValue) as metric.AddOption value in argument to p.jobCounter.Add: "go.opentelemetry.io/otel/attribute".KeyValue does not implement metric.AddOption (missing method applyAdd) (typecheck)
Run linters: pkg/tracer/init.go#L10
could not import go.opentelemetry.io/otel/sdk/trace (-: # go.opentelemetry.io/otel/sdk/trace
Run linters
cannot use &TracerProvider{} (value of type *TracerProvider) as "go.opentelemetry.io/otel/trace".TracerProvider value in variable declaration: *TracerProvider does not implement "go.opentelemetry.io/otel/trace".TracerProvider (missing method tracerProvider)
Run linters
cannot use t (variable of type *tracer) as "go.opentelemetry.io/otel/trace".Tracer value in return statement: *tracer does not implement "go.opentelemetry.io/otel/trace".Tracer (missing method tracer)
Run linters
cannot use (*recordingSpan)(nil) (value of type *recordingSpan) as ReadWriteSpan value in variable declaration: *recordingSpan does not implement ReadWriteSpan (missing method span)
Run linters
cannot use s.tracer.provider (variable of type *TracerProvider) as "go.opentelemetry.io/otel/trace".TracerProvider value in return statement: *TracerProvider does not implement "go.opentelemetry.io/otel/trace".TracerProvider (missing method tracerProvider)
Run linters
cannot use nonRecordingSpan{} (value of type nonRecordingSpan) as "go.opentelemetry.io/otel/trace".Span value in variable declaration: nonRecordingSpan does not implement "go.opentelemetry.io/otel/trace".Span (missing method span)
Run linters
cannot use s.tracer.provider (variable of type *TracerProvider) as "go.opentelemetry.io/otel/trace".TracerProvider value in return statement: *TracerProvider does not implement "go.opentelemetry.io/otel/trace".TracerProvider (missing method tracerProvider)
Run linters
cannot use &tracer{} (value of type *tracer) as "go.opentelemetry.io/otel/trace".Tracer value in variable declaration: *tracer does not implement "go.opentelemetry.io/otel/trace".Tracer (missing method tracer)
Run linters
impossible type assertion: p.(*recordingSpan)