Skip to content

Commit

Permalink
Fix whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
pellared authored Oct 18, 2023
1 parent 71417e2 commit 331f379
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/dice/otel.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func setupOTelSDK(ctx context.Context, serviceName, serviceVersion string) (shut
// Set up propagator.
prop := newPropagator()
otel.SetTextMapPropagator(prop)

// Set up trace provider.
tracerProvider, err := newTraceProvider(res)
if err != nil {
Expand Down Expand Up @@ -97,7 +97,7 @@ func newPropagator() propagation.TextMapPropagator {
propagation.Baggage{},
)
}

func newTraceProvider(res *resource.Resource) (*trace.TracerProvider, error) {
traceExporter, err := stdouttrace.New(
stdouttrace.WithPrettyPrint())
Expand Down

0 comments on commit 331f379

Please sign in to comment.