style(egress): adopt go fix's WaitGroup.Go

This commit is contained in:
sam committed 2026-09-26 02:38:59 +10:00
1 parent 9b16c0fd64
commit 71435c2bb6
1 file changed
+2 -4
@@ -30,11 +30,9 @@ func Serve(ctx context.Context, ln net.Listener, target string) error {
}
return err
}
wg.Add(1)
go func() {
defer wg.Done()
wg.Go(func() {
join(ctx, client, target)
}()
})
}
}