From 5671ba040365442c689ca59a786a80dc45ff7b5f Mon Sep 17 00:00:00 2001 From: Wukingbow <389092100@qq.com> Date: Mon, 27 May 2024 00:03:59 +0800 Subject: [PATCH] fix: ci lint failed --- metrics/debug.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/metrics/debug.go b/metrics/debug.go index eca6f0306f..9dfee1a866 100644 --- a/metrics/debug.go +++ b/metrics/debug.go @@ -27,9 +27,9 @@ func CaptureDebugGCStats(r Registry, d time.Duration) { } } -// CaptureDebugGCStatsOnce captures new values for the Go garbage collector -// statistics exported in debug.GCStats. This is designed to be called in -// a background goroutine. Giving a registry which has not been given to +// CaptureDebugGCStatsOnce captures new values for the Go garbage collector +// statistics exported in debug.GCStats. This is designed to be called in +// a background goroutine. Giving a registry which has not been given to // RegisterDebugGCStats will panic. // // Be careful (but much less so) with this because debug.ReadGCStats calls