From 08eef97500bd814a1dc83596a45837e6c7a7d43c Mon Sep 17 00:00:00 2001 From: Alexey Palazhchenko Date: Wed, 13 Aug 2025 06:37:55 +0000 Subject: [PATCH] runtime/trace: fix documentation typo 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 Reviewed-by: Michael Knyszek Reviewed-by: qiu laidongfeng <2645477756@qq.com> Auto-Submit: Michael Knyszek Reviewed-by: David Chase --- src/runtime/trace/flightrecorder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/trace/flightrecorder.go b/src/runtime/trace/flightrecorder.go index 24163f32b2..b0b75ceb60 100644 --- a/src/runtime/trace/flightrecorder.go +++ b/src/runtime/trace/flightrecorder.go @@ -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. -- 2.51.0