propagation: fix grammar in TraceContext.Inject doc (#5166)

This commit is contained in:
Kevin Burke 2024-04-09 00:16:33 -07:00 committed by GitHub
parent e028d07d0d
commit a4a9e24d8c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ var (
versionPart = fmt.Sprintf("%.2X", supportedVersion)
)
// Inject set tracecontext from the Context into the carrier.
// Inject injects the trace context from ctx into carrier.
func (tc TraceContext) Inject(ctx context.Context, carrier TextMapCarrier) {
sc := trace.SpanContextFromContext(ctx)
if !sc.IsValid() {