Skip to content

Commit

Permalink
follow linter advice
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
  • Loading branch information
timvaillancourt committed Jun 7, 2024
1 parent ea06c1b commit fe47aa8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/vt/throttler/throttler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -415,8 +415,8 @@ func TestThrottlerMaxLag(t *testing.T) {

var wg sync.WaitGroup

wg.Add(1)
go func(wg *sync.WaitGroup, ctx context.Context, throttler *Throttler) {
wg.Add(1)
defer wg.Done()
for {
select {
Expand All @@ -433,8 +433,8 @@ func TestThrottlerMaxLag(t *testing.T) {
}
}(&wg, ctx, throttler)

wg.Add(1)
go func(wg *sync.WaitGroup, ctx context.Context, throttler *Throttler) {
wg.Add(1)
defer wg.Done()
for {
select {
Expand Down

0 comments on commit fe47aa8

Please sign in to comment.