Skip to content

Commit

Permalink
fix: bug in new shield client
Browse files Browse the repository at this point in the history
  • Loading branch information
utsav14nov committed Nov 22, 2024
1 parent f3a9c6a commit 3c9e46d
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/opentelemetry"
"github.com/goto/guardian/pkg/opentelemetry/otelhttpclient"
"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 = opentelemetry.NewHttpClient("ShieldHttpClient")
httpClient = otelhttpclient.New("ShieldHttpClient", nil)
}

c := &shieldNewclient{
Expand Down

0 comments on commit 3c9e46d

Please sign in to comment.