From ac38f24f9d9a6395205514de86a73ac03161038a Mon Sep 17 00:00:00 2001 From: utsav14nov Date: Thu, 3 Oct 2024 16:36:23 +0530 Subject: [PATCH] fix: tracing issue --- plugins/providers/shield/client_new.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/providers/shield/client_new.go b/plugins/providers/shield/client_new.go index 127ba6c5..af832db7 100644 --- a/plugins/providers/shield/client_new.go +++ b/plugins/providers/shield/client_new.go @@ -13,7 +13,7 @@ import ( "github.com/go-playground/validator/v10" "github.com/goto/guardian/pkg/log" - "github.com/goto/guardian/pkg/tracing" + "github.com/goto/guardian/pkg/opentelemetry" "github.com/mitchellh/mapstructure" ) @@ -39,7 +39,7 @@ func NewShieldNewClient(config *ClientConfig, logger log.Logger) (*shieldNewclie httpClient := config.HTTPClient if httpClient == nil { - httpClient = tracing.NewHttpClient("ShieldHttpClient") + httpClient = opentelemetry.NewHttpClient("ShieldHttpClient") } c := &shieldNewclient{