Skip to content
This repository was archived by the owner on Jul 19, 2023. It is now read-only.

Commit 11390b5

Browse files
committed
Merge remote-tracking branch 'origin/fix-log-instrumentation' into dashboard-read
2 parents 800e1b3 + 28e9cad commit 11390b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/util/http.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ func captureResponseBody(data []byte, bodyBytesLeft int, buf *bytes.Buffer) int
202202
}
203203
if len(data) > bodyBytesLeft {
204204
buf.Write(data[:bodyBytesLeft])
205-
io.WriteString(buf, "...")
205+
_, _ = io.WriteString(buf, "...")
206206
return 0
207207
} else {
208208
buf.Write(data)

0 commit comments

Comments
 (0)