diff --git a/control/control.go b/control/control.go index 63287ba5..b59c1eec 100644 --- a/control/control.go +++ b/control/control.go @@ -105,7 +105,7 @@ func (c *Controller) Prune(req *controlapi.PruneRequest, stream controlapi.Contr }(w) } - eg2, ctx := errgroup.WithContext(stream.Context()) + eg2, _ := errgroup.WithContext(stream.Context()) eg2.Go(func() error { defer close(ch)