This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-go.git
The following commit(s) were added to refs/heads/main by this push:
new 9b4f42a chore: fix some function names in comment (#238)
9b4f42a is described below
commit 9b4f42acdf28eb9e6af5c138ca7f13490c6d58b9
Author: zhetaicheleba <[email protected]>
AuthorDate: Tue Jan 20 16:30:32 2026 +0900
chore: fix some function names in comment (#238)
---
plugins/core/propagating.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/core/propagating.go b/plugins/core/propagating.go
index 476b928..c47a57c 100644
--- a/plugins/core/propagating.go
+++ b/plugins/core/propagating.go
@@ -113,7 +113,7 @@ func (s *SpanContext) Encode(injector func(headerKey,
headerValue string) error)
return nil
}
-// DecodeSW6 converts string header to SpanContext
+// DecodeSW8 converts string header to SpanContext
func (s *SpanContext) DecodeSW8(header string) error {
if header == "" {
return errEmptyHeader
@@ -159,7 +159,7 @@ func (s *SpanContext) DecodeSW8(header string) error {
return nil
}
-// EncodeSW6 converts SpanContext to string header
+// EncodeSW8 converts SpanContext to string header
func (s *SpanContext) EncodeSW8() string {
return strings.Join([]string{
strconv.Itoa(int(s.Sample)),