Merge pull request #105872 from wojtek-t/fix_delete_collection

Fix delete collection error channel size
This commit is contained in:
Kubernetes Prow Robot
2021-10-25 01:16:23 -07:00
committed by GitHub

View File

@@ -1126,7 +1126,7 @@ func (e *Store) DeleteCollection(ctx context.Context, deleteValidation rest.Vali
}
wg := sync.WaitGroup{}
toProcess := make(chan int, 2*workersNumber)
errs := make(chan error, workersNumber)
errs := make(chan error, workersNumber+1)
workersExited := make(chan struct{})
distributorExited := make(chan struct{})