func (sd *StaticProvider) Run(ctx context.Context, ch chan<- []*targetgroup.Group) {
	// We still have to consider that the consumer exits right away in which case
	// the context will be canceled.
	select {
	case ch <- sd.TargetGroups:
	case <-ctx.Done():
	}
	close(ch)
}
func (sd *StaticProvider) Run(ctx context.Context, ch chan<- []*targetgroup.Group) {
	
	
	select {
	case ch <- sd.TargetGroups:
	case <-ctx.Done():
	}
	close(ch)
}
func ( sd * StaticProvider ) Run ( ctx context . Context , ch chan <- [ ] * targetgroup . Group ) { // We still have to consider that the consumer exits right away in which case // the context will be canceled. select { case ch <- sd . TargetGroups : case <- ctx . Done ( ) : } close ( ch ) }
// Run implements the Worker interface.
Run implements the Worker interface .