From 770fb29e829674ab78af39dedfde6e3eeefad6ab Mon Sep 17 00:00:00 2001 From: xiehuc Date: Wed, 29 Nov 2023 09:49:32 +0800 Subject: [PATCH] update comment --- propagation/trace_context.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/propagation/trace_context.go b/propagation/trace_context.go index ab45689cd34..63e5d62221f 100644 --- a/propagation/trace_context.go +++ b/propagation/trace_context.go @@ -151,7 +151,7 @@ func upperHex(v string) bool { func extractPart(dst []byte, h *string, n int) bool { part, left, _ := strings.Cut(*h, delimiter) *h = left - // hex.Decode support Upper hex, but we doesn't want it, so need exclude + // hex.Decode decodes unsupported upper-case characters, so exclude explicitly. if len(part) != n || upperHex(part) { return false }