mirror of
https://github.com/traefik/traefik.git
synced 2026-02-03 20:39:51 -05:00
Remove obsolete wg.Done calls in tests
These are no longer needed after using wg.Go
This commit is contained in:
parent
3b1222cb2e
commit
3fdf0a0b9c
2 changed files with 0 additions and 3 deletions
|
|
@ -507,7 +507,6 @@ func TestDifferentIntervals(t *testing.T) {
|
|||
wg := sync.WaitGroup{}
|
||||
wg.Go(func() {
|
||||
hc.Launch(ctx)
|
||||
wg.Done()
|
||||
})
|
||||
|
||||
select {
|
||||
|
|
|
|||
|
|
@ -51,8 +51,6 @@ func (eps UDPEntryPoints) Stop() {
|
|||
|
||||
for epn, ep := range eps {
|
||||
wg.Go(func() {
|
||||
defer wg.Done()
|
||||
|
||||
logger := log.With().Str(logs.EntryPointName, epn).Logger()
|
||||
ep.Shutdown(logger.WithContext(context.Background()))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue