]> Cypherpunks repositories - gostls13.git/commit
internal/trace/v2: make readBatch param more permissive
authorNicolas Hillegeer <aktau@google.com>
Thu, 22 Feb 2024 21:50:47 +0000 (13:50 -0800)
committerGopher Robot <gobot@golang.org>
Thu, 22 Feb 2024 22:21:26 +0000 (22:21 +0000)
commitd892cb496a30ec274ee87f3cd0cf6bb7ac682ab3
tree2b0f72e30b0d265f43b18723519e8cd2cf1dd2b0
parentdb57e5a040922c9cd1dac26ebc0b48f310f84095
internal/trace/v2: make readBatch param more permissive

This function is copied to x/exp/trace. In https://go.dev/cl/566255 a
change is made where the source is a bytes.Reader instead of a
bufio.Reader from one of the two callers. Change the prototype here
instead of diverging the implementations.

Change-Id: I594224663996eadbc8c388442d68ac5706c52c8e
Reviewed-on: https://go-review.googlesource.com/c/go/+/566236
Auto-Submit: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/internal/trace/v2/batch.go