diff --git a/pkg/sql/instrumentation.go b/pkg/sql/instrumentation.go index 778de2d6ef69..b0f9279d11ac 100644 --- a/pkg/sql/instrumentation.go +++ b/pkg/sql/instrumentation.go @@ -287,7 +287,7 @@ func pollInFlightTrace( return trace, err } -func (c inFlightTraceCollector) finish() { +func (c *inFlightTraceCollector) finish() { if c.cancel == nil { // The in-flight trace collector goroutine wasn't started. return