From f8cfe87913a578b930b6711e3d2981d91de167e5 Mon Sep 17 00:00:00 2001 From: Vihas Makwana <121151420+VihasMakwana@users.noreply.github.com> Date: Mon, 16 Dec 2024 16:55:43 +0530 Subject: [PATCH] [chore][extension/awsproxy] use configtls.NewDefaultClientConfig (#36724) Relates https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/36064 --- 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(), }, } }