From 9ca62015f2907dcb4019055808fb45ea7c4bde61 Mon Sep 17 00:00:00 2001 From: Michael Burman Date: Thu, 14 Nov 2024 18:33:49 +0200 Subject: [PATCH] Fix lint issue --- pkg/httphelper/security_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/httphelper/security_test.go b/pkg/httphelper/security_test.go index 77f8a94b..e780b8d5 100644 --- a/pkg/httphelper/security_test.go +++ b/pkg/httphelper/security_test.go @@ -112,7 +112,7 @@ func Test_validatePrivateKey(t *testing.T) { // BuildManagementApiHttpClient method func TestBuildMTLSClient(t *testing.T) { require := require.New(t) - api.AddToScheme(scheme.Scheme) + require.NoError(api.AddToScheme(scheme.Scheme)) decode := serializer.NewCodecFactory(scheme.Scheme).UniversalDeserializer().Decode loadYaml := func(path string) (runtime.Object, error) {