From fcbd0e9f2e9157bf4034fb5585e9bf62f66f8fda Mon Sep 17 00:00:00 2001 From: Yu Juncen Date: Wed, 6 Mar 2024 11:12:22 +0800 Subject: [PATCH] make clippy happy Signed-off-by: Yu Juncen --- br/pkg/utils/misc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/br/pkg/utils/misc.go b/br/pkg/utils/misc.go index cc57b630b2650..c503c52a3dfd3 100644 --- a/br/pkg/utils/misc.go +++ b/br/pkg/utils/misc.go @@ -199,7 +199,7 @@ func StartExitSingleListener(ctx context.Context) (context.Context, context.Canc printDelimate(fmt.Sprintf("Required Goroutine Dump = %v", dumpGoroutine)) if dumpGoroutine { printDelimate("Start Dumping Goroutine") - os.Stdout.Write(AllStackInfo()) + _, _ = os.Stdout.Write(AllStackInfo()) printDelimate("End of Dumping Goroutine") } log.Warn("received signal to exit", zap.Stringer("signal", sig))