projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57c70fa
)
14287: Fix comment that looked too much like real code.
author
Tom Clegg <tclegg@veritasgenetics.com>
Mon, 22 Jul 2019 17:05:01 +0000
(13:05 -0400)
committer
Tom 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
patch
|
blob
|
history
diff --git
a/lib/controller/federation/list.go
b/lib/controller/federation/list.go
index 4843baa5c4fc6be3baef6cfe15edeee5d7063e16..43ed2cdbaad3d0750de97238cfc6596a4541a3ee 100644
(file)
--- a/
lib/controller/federation/list.go
+++ b/
lib/controller/federation/list.go
@@
-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)