Fix sort func.
authorTom Clegg <tom@tomclegg.ca>
Fri, 29 Oct 2021 18:39:42 +0000 (14:39 -0400)
committerTom Clegg <tom@tomclegg.ca>
Mon, 1 Nov 2021 14:41:50 +0000 (10:41 -0400)
refs #17763

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

anno2vcf.go

index 000ad9809619f6f2a929fca6c89d21c24322985d..a1eb0ae2a66b8a4b962c4bbbc47e1a8559e9e7e2 100644 (file)
@@ -97,7 +97,7 @@ func (cmd *anno2vcf) RunCommand(prog string, args []string, stdin io.Reader, std
                return 1
        }
        d.Close()
-       sort.Slice(fis, func(i, j int) { return fis[i].Name() < fis[j].Name() })
+       sort.Slice(fis, func(i, j int) bool { return fis[i].Name() < fis[j].Name() })
 
        type call struct {
                tile      int