mirror of
https://github.com/amir20/dozzle.git
synced 2025-12-24 06:28:42 +01:00
fix: this fixes a critical bug where multiple stat collectors were competing and never stopping. see #2838 (#2839)
This commit is contained in:
@@ -224,7 +224,6 @@ func (d *_client) ContainerStats(ctx context.Context, id string, stats chan<- Co
|
||||
return err
|
||||
}
|
||||
|
||||
log.Debugf("starting to stream stats for: %s", id)
|
||||
defer response.Body.Close()
|
||||
decoder := json.NewDecoder(response.Body)
|
||||
var v *types.StatsJSON
|
||||
|
||||
Reference in New Issue
Block a user