From ba1fc9f1570ac5c794daedbd09b2d901553f2ab4 Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Thu, 16 Jan 2020 10:03:33 -0500 Subject: [PATCH] Fix errs channel race. Arvados-DCO-1.1-Signed-off-by: Tom Clegg --- gvcf2numpy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gvcf2numpy.go b/gvcf2numpy.go index 55f25361bc..19e4e8e965 100644 --- a/gvcf2numpy.go +++ b/gvcf2numpy.go @@ -130,7 +130,7 @@ func listVCFFiles(paths []string) (files []string, err error) { func (cmd *gvcf2numpy) tileGVCFs(tilelib *tileLibrary, infiles []string) ([]tileSeq, error) { limit := make(chan bool, runtime.NumCPU()) - errs := make(chan error) + errs := make(chan error, 1) tseqs := make([]tileSeq, len(infiles)*2) var wg sync.WaitGroup for i, infile := range infiles { -- 2.30.2