From 93cc8358a2fab0aded3bda388fe9908756297acc Mon Sep 17 00:00:00 2001 From: Vihas Makwana Date: Mon, 9 Dec 2024 21:57:01 +0530 Subject: [PATCH] chore: use configtls.NewDefaultClientConfig --- extension/awsproxy/factory.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/extension/awsproxy/factory.go b/extension/awsproxy/factory.go index 3330f319f757..3c35cd3f4cba 100644 --- a/extension/awsproxy/factory.go +++ b/extension/awsproxy/factory.go @@ -36,9 +36,7 @@ func createDefaultConfig() component.Config { TCPAddrConfig: confignet.TCPAddrConfig{ Endpoint: testutil.EndpointForPort(defaultPort), }, - TLSSetting: configtls.ClientConfig{ - Insecure: false, - }, + TLSSetting: configtls.NewDefaultClientConfig(), }, } }