From de93250c8973071c960be688ba68967c54af8f09 Mon Sep 17 00:00:00 2001 From: Lev Zakharov Date: Tue, 3 Oct 2023 11:20:40 +0300 Subject: [PATCH] Fix typo in tracer.go --- tracer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracer.go b/tracer.go index 7f0fd6d..58f9f15 100644 --- a/tracer.go +++ b/tracer.go @@ -309,7 +309,7 @@ func (t *Tracer) TracePrepareStart(ctx context.Context, conn *pgx.Conn, data pgx } if data.Name != "" { - trace.WithAttributes(PrepareStmtNameKey.String(data.Name)), + trace.WithAttributes(PrepareStmtNameKey.String(data.Name)) } if conn != nil {