Skip to content

Commit 3a31882

Browse files
committed
Fix lint errors
1 parent 7a12e61 commit 3a31882

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

baggage/baggage.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,9 +323,9 @@ func replaceInvalidUTF8Sequences(cap int, unescapeVal string) string {
323323
r, size := utf8.DecodeRuneInString(unescapeVal[i:])
324324
if r == utf8.RuneError && size == 1 {
325325
// Invalid UTF-8 sequence found, replace it with '�'
326-
b.WriteString("�")
326+
_, _ = b.WriteString("�")
327327
} else {
328-
b.WriteRune(r)
328+
_, _ = b.WriteRune(r)
329329
}
330330
i += size
331331
}

0 commit comments

Comments
 (0)