Skip to content

Commit f6e3d48

Browse files
fix: panic - waitGroup counter goes negative (#4101)
1 parent a2cc759 commit f6e3d48

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

internal/support/docker/docker_service.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ func (d *DockerClientService) Attach(ctx context.Context, container container.Co
122122
var wg sync.WaitGroup
123123

124124
wg.Go(func() {
125-
defer wg.Done()
126125
if _, err := io.Copy(containerWriter, stdin); err != nil {
127126
log.Error().Err(err).Msg("error while reading from ws")
128127
}

0 commit comments

Comments
 (0)