Skip to content

Commit

Permalink
style(agent): clean-up commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuar committed Dec 8, 2023
1 parent 771adcf commit 6fd0b7d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions internal/agent/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -295,11 +295,7 @@ func (agent *Agent) startWorkers(ctx context.Context) {
var outCh []<-chan tracker.Sensor

for i := 0; i < len(workerFuncs); i++ {
// wg.Add(1)
// go func(outCh []<-chan tracker.Sensor, workerFunc func(context.Context) chan tracker.Sensor) {
// defer wg.Done()
outCh = append(outCh, workerFuncs[i](workerCtx))
// }(outCh, workerFuncs[i])
}

log.Debug().Msg("Listening for sensor updates.")
Expand Down

0 comments on commit 6fd0b7d

Please sign in to comment.