From 5e8d7aec833cf49c08bae2bafdf14f1a3d31e489 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(), }, } }