1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-10 09:50:58 +02:00
opentelemetry-go/baggage
ReStartercc 0963f59955
Fix baggage.NewMember to decode the accepted value (#3226)
* Fix baggage.NewMember to decode the accepted value

`value` is decoded and stored after validating the input parameters.

Corresponding test cases are modified so that we can make sure `value` is properly encoded before creating Member.

* fix md lint

* add function document to NewMember for value encoding and decoding

* remove redundant comments and fix CHANGELOG.md

* fix wrong PR number in the changelog

* fix wrong PR number

* fix md-lint

Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
2022-10-18 12:45:04 -07:00
..
baggage_test.go Fix baggage.NewMember to decode the accepted value (#3226) 2022-10-18 12:45:04 -07:00
baggage.go Fix baggage.NewMember to decode the accepted value (#3226) 2022-10-18 12:45:04 -07:00
context_test.go Add baggage implementation based on the W3C and OpenTelemetry specification (#1967) 2021-06-08 08:06:37 -07:00
context.go Replaces golint by revive and fix newly reported linter issues (#1946) 2021-06-08 10:10:01 -07:00
doc.go Prerelease v1.0.0 (#2250) 2021-09-20 13:02:46 -07:00