You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I guess this happens because we moved the comparison outside of delegateTextMapPropagatorOnce.Do.
So re-setting the propagator used not to run the comparison.
* Fix#2772: allow non-comparable global types
The global MeterProvider, TracerProvider, and TextMapPropagator should
not panic when they are set to a non-comparable implementation of each.
* Add changes to changelog
* No lint unused field for testing
Description
Calling
otel.SetTextMapPropagator
with apropagation.NewCompositeTextMapPropagator
panics.Environment
Steps To Reproduce
results in:
Expected behavior
This worked in 1.6.1.
Issue was introduced in 1.6.2, in
otel/internal/global/state.go:79
.The text was updated successfully, but these errors were encountered: