Skip to content

Commit

Permalink
internal/global,trace: fix spelling error
Browse files Browse the repository at this point in the history
There is another one in the generated semconv files but I couldn't
find where those were being generated from.
  • Loading branch information
kevinburkesegment committed Feb 13, 2024
1 parent cd289ee commit e83adf5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions internal/global/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func SetTracerProvider(tp trace.TracerProvider) {
// to itself.
Error(
errors.New("no delegate configured in tracer provider"),
"Setting tracer provider to it's current value. No delegate will be configured",
"Setting tracer provider to its current value. No delegate will be configured",
)
return
}
Expand Down Expand Up @@ -92,7 +92,7 @@ func SetTextMapPropagator(p propagation.TextMapPropagator) {
// delegate to itself.
Error(
errors.New("no delegate configured in text map propagator"),
"Setting text map propagator to it's current value. No delegate will be configured",
"Setting text map propagator to its current value. No delegate will be configured",
)
return
}
Expand Down Expand Up @@ -123,7 +123,7 @@ func SetMeterProvider(mp metric.MeterProvider) {
// to itself.
Error(
errors.New("no delegate configured in meter provider"),
"Setting meter provider to it's current value. No delegate will be configured",
"Setting meter provider to its current value. No delegate will be configured",
)
return
}
Expand Down
4 changes: 3 additions & 1 deletion trace/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@

package trace // import "go.opentelemetry.io/otel/trace"

import "context"
import (
"context"
)

type traceContextKeyType int

Expand Down

0 comments on commit e83adf5

Please sign in to comment.