Skip to content

Commit

Permalink
fix: tracing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
utsav14nov committed Oct 3, 2024
1 parent 3fa9a9b commit ac38f24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/providers/shield/client_new.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand All @@ -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{
Expand Down

0 comments on commit ac38f24

Please sign in to comment.