kratos/typs(trace): the world spelling corrects (#1116)

pull/1118/head
opensite 3 years ago committed by GitHub
parent 87eb5ed5c0
commit 01409cfb78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      middleware/tracing/tracing.go

@ -17,14 +17,14 @@ type options struct {
Propagator propagation.TextMapPropagator
}
// WithPropagator with tracer proagator.
// WithPropagator with tracer propagator.
func WithPropagator(propagator propagation.TextMapPropagator) Option {
return func(opts *options) {
opts.Propagator = propagator
}
}
// WithTracerProvider with tracer privoder.
// WithTracerProvider with tracer provider.
func WithTracerProvider(provider trace.TracerProvider) Option {
return func(opts *options) {
opts.TracerProvider = provider

Loading…
Cancel
Save