Skip to content

Commit

Permalink
Fix typo in example (open-telemetry#1278)
Browse files Browse the repository at this point in the history
  • Loading branch information
bboreham committed Oct 26, 2020
1 parent da3f60a commit 412ee70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 412ee70

Please sign in to comment.