Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Bartlomiej Plotka <bwplotka@gmail.com>
Signed-off-by: Nathan Berkley <nberkley@tripadvisor.com>
  • Loading branch information
nberkley and bwplotka committed Jan 20, 2022
1 parent 1455910 commit eb692d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/block/fetcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ func (f *DeduplicateFilter) Filter(_ context.Context, metas map[ulid.ULID]*metad
var wg sync.WaitGroup
var groupChan = make(chan []*metadata.Meta)

//Start up workers to deduplicate work groups when they're ready
// Start up workers to deduplicate workgroups when they're ready.
for i := 0; i < f.concurrency; i++ {
wg.Add(1)
go func() {
Expand Down Expand Up @@ -644,7 +644,7 @@ childLoop:
}
}

// Child's sources not covered by any member of coveringSet, add it to coveringSet
// Child's sources not covered by any member of coveringSet, add it to coveringSet.
coveringSet = append(coveringSet, child)
}

Expand Down

0 comments on commit eb692d3

Please sign in to comment.