nit: Fix comment to be up-to-date (#1510)
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
This commit is contained in:
parent
186c29539f
commit
b39fd052d4
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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue