Skip to content

Commit

Permalink
chore: rename confusing ingestion variables
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Nov 5, 2024
1 parent ad350de commit 57f503d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/services/ingestion.go
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ func (i *IngestionService) ProcessVcf(
var rowWg sync.WaitGroup
rowWg.Add(len(rowComponents))

for rowIndex, rowComponent := range rowComponents {
for colIdx, colVal := range rowComponents {
go func(h int, rc string, rwg *sync.WaitGroup) {
defer rwg.Done()
key := strings.ToLower(strings.TrimSpace(strings.Replace(headers[h], "#", "", -1)))
Expand Down Expand Up @@ -603,7 +603,7 @@ func (i *IngestionService) ProcessVcf(
})
tmpSamplesMutex.Unlock()
}
}(rowIndex, rowComponent, &rowWg)
}(colIdx, colVal, &rowWg)
}

rowWg.Wait()
Expand Down

0 comments on commit 57f503d

Please sign in to comment.