Skip to content

Commit

Permalink
nit: Fix comment to be up-to-date (#1510)
Browse files Browse the repository at this point in the history
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
  • Loading branch information
ymotongpoo and MrAlias authored Feb 4, 2021
1 parent 186c295 commit b39fd05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trace.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit b39fd05

Please sign in to comment.