baggage.Members() returns members with hasData
set to false
#3164
Labels
area:baggage
Part of OpenTelemetry baggage
bug
Something isn't working
help wanted
Extra attention is needed
Milestone
Description
NOTE: I'm not sure if this is actually a bug or working as intended, so feel free to close it.
When calling
baggage.Members()
the slice ofMember
returned has all elements withhasData
set tofalse
. This prevents them from being set in other baggages sincebaggage.SetMember()
will fail.Environment
Steps To Reproduce
Sample playground: https://go.dev/play/p/tJa5-fMVCk1
Expected behavior
Members returned by
baggage.Members()
can be used in other baggages.The text was updated successfully, but these errors were encountered: