Description
Hi guys,
You apparently forgot to delete one of the SpanContext() methods in the ReadWriteSpan interface.
Duplicate method SpanContext() in package https://github.com/open-telemetry/opentelemetry-go/blob/main/sdk/trace/span.go line 97
// Warning: methods may be added to this interface in minor releases.
type ReadWriteSpan interface {
trace.Span <-- has SpanContext()
ReadOnlySpan <-- has SpanContext()
}
the runtime error:
/go/pkg/mod/go.opentelemetry.io/otel/[email protected]!r!c1/trace/span.go:97:2: duplicate method SpanContext
Environment
- OS: Ubuntu
- Architecture: x86
- Go Version: 1.16
- opentelemetry-go version: v1.0.0-RC1
Steps To Reproduce
Expected behavior
A clear and concise description of what you expected to happen.
Description
Hi guys,
You apparently forgot to delete one of the SpanContext() methods in the ReadWriteSpan interface.
Duplicate method SpanContext() in package https://github.com/open-telemetry/opentelemetry-go/blob/main/sdk/trace/span.go line 97
// Warning: methods may be added to this interface in minor releases.
type ReadWriteSpan interface {
trace.Span <-- has SpanContext()
ReadOnlySpan <-- has SpanContext()
}
the runtime error:
/go/pkg/mod/go.opentelemetry.io/otel/[email protected]!r!c1/trace/span.go:97:2: duplicate method SpanContext
Environment
Steps To Reproduce
Expected behavior
A clear and concise description of what you expected to happen.