14287: Fix comment that looked too much like real code.
authorTom Clegg <tclegg@veritasgenetics.com>
Mon, 22 Jul 2019 17:05:01 +0000 (13:05 -0400)
committerTom Clegg <tclegg@veritasgenetics.com>
Mon, 22 Jul 2019 17:05:51 +0000 (13:05 -0400)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

lib/controller/federation/list.go

index 4843baa5c4fc6be3baef6cfe15edeee5d7063e16..43ed2cdbaad3d0750de97238cfc6596a4541a3ee 100644 (file)
@@ -130,7 +130,8 @@ func (conn *Conn) splitListRequest(ctx context.Context, opts arvados.ListOptions
                if matchAllFilters == nil {
                        matchAllFilters = matchThisFilter
                } else {
-                       // matchAllFilters = intersect(matchAllFilters, matchThisFilter)
+                       // Reduce matchAllFilters to the intersection
+                       // of matchAllFilters ∩ matchThisFilter.
                        for uuid := range matchAllFilters {
                                if !matchThisFilter[uuid] {
                                        delete(matchAllFilters, uuid)