1
0
mirror of https://github.com/go-kratos/kratos.git synced 2026-05-22 10:15:24 +02:00

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

This commit is contained in:
opensite
2021-06-28 11:11:03 +08:00
committed by GitHub
parent 87eb5ed5c0
commit 01409cfb78
+2 -2
View File
@@ -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