From b39fd052d472c9100286cd2af61bef735bd5c7fd Mon Sep 17 00:00:00 2001 From: Yoshi Yamaguchi <145104+ymotongpoo@users.noreply.github.com> Date: Thu, 4 Feb 2021 18:36:34 +0000 Subject: [PATCH] nit: Fix comment to be up-to-date (#1510) Co-authored-by: Tyler Yahn --- trace.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trace.go b/trace.go index bd6b6818cf9..1d5ffb8ea57 100644 --- a/trace.go +++ b/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) }