From 583d9e1e14e6b0b5b55dba0e934b78ad9d711e68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A8=8B=E6=99=BA=E8=B6=850668000959?= Date: Fri, 26 Jun 2026 22:15:29 +0800 Subject: [PATCH] fix(updater): explicitly ignore resp2.Body.Close() error after io.ReadAll --- pkg/updater/updater.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/updater/updater.go b/pkg/updater/updater.go index f8fc29fdf..fb4187a3d 100644 --- a/pkg/updater/updater.go +++ b/pkg/updater/updater.go @@ -352,7 +352,7 @@ func findAssetInfo(releaseURL, platform, arch string) (string, string, error) { continue } bs, err := io.ReadAll(resp2.Body) - resp2.Body.Close() + _ = resp2.Body.Close() if err != nil { continue }