From b336a09b5298a0cdd9a841950703b33b547c641b Mon Sep 17 00:00:00 2001 From: Yuvaraj Kakaraparthi Date: Wed, 21 Sep 2022 15:22:18 -0700 Subject: [PATCH] fix lint error --- cmd/clusterctl/client/cluster/template_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/clusterctl/client/cluster/template_test.go b/cmd/clusterctl/client/cluster/template_test.go index 9e58000dcffb..af9ba015eead 100644 --- a/cmd/clusterctl/client/cluster/template_test.go +++ b/cmd/clusterctl/client/cluster/template_test.go @@ -310,7 +310,7 @@ func Test_templateClient_GetFromURL(t *testing.T) { // redirect stdin saveStdin := os.Stdin defer func() { os.Stdin = saveStdin }() - os.Stdin, err = os.Open(path) + os.Stdin, err = os.Open(path) //nolint:gosec g.Expect(err).NotTo(HaveOccurred()) type args struct {