Skip to content

Commit 9b4f42a

Browse files
chore: fix some function names in comment (#238)
1 parent 7a9dea8 commit 9b4f42a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

plugins/core/propagating.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ func (s *SpanContext) Encode(injector func(headerKey, headerValue string) error)
113113
return nil
114114
}
115115

116-
// DecodeSW6 converts string header to SpanContext
116+
// DecodeSW8 converts string header to SpanContext
117117
func (s *SpanContext) DecodeSW8(header string) error {
118118
if header == "" {
119119
return errEmptyHeader
@@ -159,7 +159,7 @@ func (s *SpanContext) DecodeSW8(header string) error {
159159
return nil
160160
}
161161

162-
// EncodeSW6 converts SpanContext to string header
162+
// EncodeSW8 converts SpanContext to string header
163163
func (s *SpanContext) EncodeSW8() string {
164164
return strings.Join([]string{
165165
strconv.Itoa(int(s.Sample)),

0 commit comments

Comments
 (0)