1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-01-10 00:29:12 +02:00

Fix golint issue caused by typo (#1847)

Signed-off-by: Hu Shuai <hus.fnst@cn.fujitsu.com>
This commit is contained in:
Hu Shuai 2021-04-27 22:27:12 +08:00 committed by GitHub
parent ca130e54e8
commit 8eb0bb992f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,7 +67,7 @@ func (p *TracerProvider) Tracer(instName string, opts ...trace.TracerOption) tra
return t return t
} }
// DefaulTracer returns a default tracer for testing purposes. // DefaultTracer returns a default tracer for testing purposes.
func DefaultTracer() trace.Tracer { func DefaultTracer() trace.Tracer {
return NewTracerProvider().Tracer("") return NewTracerProvider().Tracer("")
} }