Skip to content

Update module go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp to v0.57.0 #53

Update module go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp to v0.57.0

Update module go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp to v0.57.0 #53

Triggered via pull request July 3, 2024 23:42
Status Failure
Total duration 46s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors
lint: internal/tracer.go#L9
could not import go.opentelemetry.io/otel/sdk/trace (-: # go.opentelemetry.io/otel/sdk/trace
lint
cannot use (*recordingSpan)(nil) (value of type *recordingSpan) as ReadWriteSpan value in variable declaration: *recordingSpan does not implement ReadWriteSpan (missing method AddLink)
lint
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 AddLink)
lint
impossible type assertion: p.(*recordingSpan)
lint
cannot use tr.newNonRecordingSpan(sc) (value of type nonRecordingSpan) as "go.opentelemetry.io/otel/trace".Span value in return statement: nonRecordingSpan does not implement "go.opentelemetry.io/otel/trace".Span (missing method AddLink)
lint
cannot use tr.newRecordingSpan(psc, sc, name, samplingResult, config) (value of type *recordingSpan) as "go.opentelemetry.io/otel/trace".Span value in return statement: *recordingSpan does not implement "go.opentelemetry.io/otel/trace".Span (missing method AddLink)
lint
issues found