Skip to content

Commit

Permalink
Merge pull request #4876 from jsternberg/tracer-provider-with-recorder
Browse files Browse the repository at this point in the history
detect: remove extraneous check for detected exporters
  • Loading branch information
tonistiigi committed Apr 24, 2024
2 parents 5fce077 + 22c8441 commit 5152118
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/tracing/detect/detect.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func detect() error {
mp = sdkmetric.NewMeterProvider()

texp, mexp, err := detectExporters()
if err != nil || (texp == nil && mexp == nil) {
if err != nil {
return err
}

Expand Down

0 comments on commit 5152118

Please sign in to comment.