Skip to content

Commit

Permalink
Tidy code.
Browse files Browse the repository at this point in the history
  • Loading branch information
Baliedge committed Aug 2, 2023
1 parent 8e118ff commit 4960be8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions datamodel/translate.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,6 @@ func TranslateMapParallel[K comparable, V any, OUT any](m map[K]V, translate Tra
go func() {
defer wg.Done()
for k, v := range m {
if ctx.Err() != nil {
return
}
wg.Add(1)
go func(k K, v V) {
defer wg.Done()
Expand Down

0 comments on commit 4960be8

Please sign in to comment.