From ed1c76e6eb03c2c62442958bf7803425b2ac8825 Mon Sep 17 00:00:00 2001 From: Paul Rogers Date: Wed, 15 Nov 2023 14:12:48 -0500 Subject: [PATCH] Lint --- pkg/storage/bloom/v1/archive_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/storage/bloom/v1/archive_test.go b/pkg/storage/bloom/v1/archive_test.go index 8706feff05088..e1189e9dec03e 100644 --- a/pkg/storage/bloom/v1/archive_test.go +++ b/pkg/storage/bloom/v1/archive_test.go @@ -97,11 +97,11 @@ func TestUnGzData(t *testing.T) { cmd := exec.Command("gzip", filePath) err = cmd.Run() require.Nil(t, err) - defer os.Remove(gzipFileName) // Read the gzipped file using the compress/gzip package gzipFile, err := os.Open(gzipFileName) + require.Nil(t, err) defer gzipFile.Close() fileContent, err := os.ReadFile(gzipFileName)