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:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user