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

Commit 28e9cad

Browse files
committed
make trunk/lint
1 parent d8cc14d commit 28e9cad

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)