From 1634d642ed82c9b0419648d62918577150738749 Mon Sep 17 00:00:00 2001 From: Sergey Melekhin Date: Thu, 4 Jul 2024 10:17:26 +0700 Subject: [PATCH] lint --- pkg/kgo/helpers_test.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkg/kgo/helpers_test.go b/pkg/kgo/helpers_test.go index 83953b99..852c326d 100644 --- a/pkg/kgo/helpers_test.go +++ b/pkg/kgo/helpers_test.go @@ -542,9 +542,7 @@ func testAutocommitMarked( ) ) - defer func() { - groupCleanup() - }() + defer groupCleanup() consumer.wg.Add(1) go consumer.runAutocommitMarkedProcessing(testRecordLimit)