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
commit 05a18a34b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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{})