From ca8e229c1961af047a4f18f4724014e9448594cf Mon Sep 17 00:00:00 2001 From: okJiang <819421878@qq.com> Date: Thu, 2 Jan 2025 15:20:23 +0800 Subject: [PATCH] skip lint Signed-off-by: okJiang <819421878@qq.com> --- tests/server/api/api_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/server/api/api_test.go b/tests/server/api/api_test.go index 4e3e729da76..17a136ffb1e 100644 --- a/tests/server/api/api_test.go +++ b/tests/server/api/api_test.go @@ -1099,6 +1099,7 @@ func sendRequest(re *require.Assertions, url string, method string, statusCode i resp *http.Response ) testutil.Eventually(re, func() bool { + //nolint:bodyclose resp, err = tests.TestDialClient.Do(req) re.NoError(err) // Due to service unavailability caused by environmental issues,