1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-27 07:31:46 +01:00

fix: panic - waitGroup counter goes negative (#4101)

This commit is contained in:
Akash R
2025-09-03 22:12:08 +05:30
committed by GitHub
parent a2cc759538
commit f6e3d487ac

View File

@@ -122,7 +122,6 @@ func (d *DockerClientService) Attach(ctx context.Context, container container.Co
var wg sync.WaitGroup
wg.Go(func() {
defer wg.Done()
if _, err := io.Copy(containerWriter, stdin); err != nil {
log.Error().Err(err).Msg("error while reading from ws")
}