]> Cypherpunks repositories - gostls13.git/commitdiff
runtime/trace: fix documentation typo
authorAlexey Palazhchenko <alexey.palazhchenko@gmail.com>
Wed, 13 Aug 2025 06:37:55 +0000 (06:37 +0000)
committerGopher Robot <gobot@golang.org>
Wed, 13 Aug 2025 18:15:16 +0000 (11:15 -0700)
Change-Id: I3d8dc20536c7a1fb4b1d895fcf989f86bf45f499
GitHub-Last-Rev: 234aea60e25b01e84abdf485cebbd0da5f392fed
GitHub-Pull-Request: golang/go#74991
Reviewed-on: https://go-review.googlesource.com/c/go/+/695535
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: qiu laidongfeng <2645477756@qq.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
Reviewed-by: David Chase <drchase@google.com>
src/runtime/trace/flightrecorder.go

index 24163f32b21200348f69b8ffcb8f829ebc847b3b..b0b75ceb60bc0f8df98c2468283223ddbcc106a6 100644 (file)
@@ -158,7 +158,7 @@ type FlightRecorderConfig struct {
        //
        // The flight recorder will strive to promptly discard events older than the minimum age,
        // but older events may appear in the window snapshot. The age setting will always be
-       // overridden by MaxSize.
+       // overridden by MaxBytes.
        //
        // If this is 0, the minimum age is implementation defined, but can be assumed to be on the order
        // of seconds.