From a3dba7a5d054b98c64125cab5bb53b7415626f0e Mon Sep 17 00:00:00 2001 From: Panos Koutsovasilis Date: Wed, 18 Dec 2024 11:28:18 +0200 Subject: [PATCH] chore: disable lint overflow warnings --- dev-tools/packaging/package_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-tools/packaging/package_test.go b/dev-tools/packaging/package_test.go index 8788973771..41104997df 100644 --- a/dev-tools/packaging/package_test.go +++ b/dev-tools/packaging/package_test.go @@ -728,7 +728,7 @@ func readTarContents(tarName string, data io.Reader) (*packageFile, error) { File: header.Name, UID: header.Uid, GID: header.Gid, - Mode: os.FileMode(header.Mode), + Mode: os.FileMode(header.Mode), //nolint:gosec // Reason: header.Mode should never overflow from int64 -> uint32 } }