From cf624ab83f183373dc132263291d25973c2ef48b Mon Sep 17 00:00:00 2001 From: Malcolm Akinje Date: Wed, 28 Aug 2024 11:10:35 -0500 Subject: [PATCH] ignore unused wrangler weighted semaphore --- go/vt/wrangler/wrangler.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/go/vt/wrangler/wrangler.go b/go/vt/wrangler/wrangler.go index 1bf3763f7f6..8c3c3c46690 100644 --- a/go/vt/wrangler/wrangler.go +++ b/go/vt/wrangler/wrangler.go @@ -22,6 +22,7 @@ import ( "context" "golang.org/x/sync/semaphore" + "vitess.io/vitess/go/sqltypes" "vitess.io/vitess/go/vt/logutil" "vitess.io/vitess/go/vt/topo" @@ -55,6 +56,7 @@ type Wrangler struct { // DO NOT USE in production code. VExecFunc func(ctx context.Context, workflow, keyspace, query string, dryRun bool) (map[*topo.TabletInfo]*sqltypes.Result, error) // Limt the number of concurrent background goroutines if needed. + // nolint:ignore U1000 sem *semaphore.Weighted }