1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-02-03 13:11:53 +02:00

Fix typo in example (#1278)

This commit is contained in:
Bryan Boreham 2020-10-26 19:23:40 +00:00 committed by GitHub
parent da3f60ac96
commit 412ee70ad2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
doc.go
View File

@ -29,7 +29,7 @@ operation being performed as part of a traced workflow. It its simplest form:
var tracer otel.Tracer
func init() {
tracer := global.Tracer("instrumentation/package/name")
tracer = global.Tracer("instrumentation/package/name")
}
func operation(ctx context.Context) {