diff --git a/collector/docker.go b/collector/docker.go index b231528..2dd227f 100644 --- a/collector/docker.go +++ b/collector/docker.go @@ -33,7 +33,6 @@ func NewDocker(client *api.Client, id string) *Docker { }() go func() { - defer close(stats) defer close(c.stream) for s := range stats { c.ReadCPU(s)