From c2ae42bd7a484f93d776303438e010ed37dd47c6 Mon Sep 17 00:00:00 2001 From: Matthew Rich Date: Fri, 4 Oct 2024 00:12:31 +0000 Subject: [PATCH] fix lint error --- internal/transport/transport_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/transport/transport_test.go b/internal/transport/transport_test.go index a7aa763..4f1f3a2 100644 --- a/internal/transport/transport_test.go +++ b/internal/transport/transport_test.go @@ -23,8 +23,7 @@ resources: ` func TestMain(m *testing.M) { - var err error - err = TempDir.Create() + err := TempDir.Create() if err != nil || TempDir == "" { log.Fatal(err) }