Skip to content

Commit

Permalink
Update internal/component/otelcol/internal/scheduler/scheduler.go
Browse files Browse the repository at this point in the history
Co-authored-by: Piotr <17101802+thampiotr@users.noreply.github.com>
  • Loading branch information
wildum and thampiotr authored Jan 2, 2025
1 parent b133971 commit f1da2d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/component/otelcol/internal/scheduler/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func (cs *Scheduler) Schedule(ctx context.Context, updateConsumers func(), h ote
cs.stopComponents(ctx, cs.schedComponents...)

// 3. Change the consumers
// This is can only be done after stopping the pervious components and before starting the new ones.
// This can only be done after stopping the pervious components and before starting the new ones.
updateConsumers()

// 4. Start the new components
Expand Down

0 comments on commit f1da2d7

Please sign in to comment.