You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-08-15 20:03:15 +02:00
nit: Fix comment to be up-to-date (#1510)
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
This commit is contained in:
2
trace.go
2
trace.go
@@ -22,7 +22,7 @@ import (
|
||||
// Tracer creates a named tracer that implements Tracer interface.
|
||||
// If the name is an empty string then provider uses default name.
|
||||
//
|
||||
// This is short for TracerProvider().Tracer(name)
|
||||
// This is short for GetTracerProvider().Tracer(name)
|
||||
func Tracer(name string) trace.Tracer {
|
||||
return GetTracerProvider().Tracer(name)
|
||||
}
|
||||
|
Reference in New Issue
Block a user